Sha256: b5bce2d8ca50218496975ed5a5f04e7037b25203537513c98d58ee441afbfb18
Contents?: true
Size: 661 Bytes
Versions: 5
Compression:
Stored size: 661 Bytes
Contents
module MyScripts # Dummy script skeleton that is ready for your usage. Just put your script code # inside run method (if you use ARGV, change it to @argv). Done! # You can immediately run your script anywhere using following command: # $ dummy Whatever arguments your code expects and processes # class Dummy < Script def run # here you do all actual work for your script # you have following instance vars at your disposal: # @name - your script name, # @argv - your ARGV (Array of argument Strings passed at command line), # @cli - CLI runner (holds references to stdin and stdout) #... end end end
Version data entries
5 entries across 5 versions & 1 rubygems