Sha256: bda702bbe016d182b2cc673f2a8cffcc8a042fb6ca984e199b160fad590c99fd
Contents?: true
Size: 627 Bytes
Versions: 3
Compression:
Stored size: 627 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, # @cli - CLI runner (holds references to stdin and stdout) #... end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.0.12 | lib/my_scripts/dummy.rb |
my_scripts-0.0.11 | lib/my_scripts/dummy.rb |
my_scripts-0.0.9 | lib/my_scripts/dummy.rb |