Sha256: 9549ec4435748c065e695a9a7c0da74b70f10628ea92637bccf5d190fb563920
Contents?: true
Size: 366 Bytes
Versions: 34
Compression:
Stored size: 366 Bytes
Contents
require 'main' ARGV.replace %w( x y argument ) Main { argument 'argument' option 'option' def run() puts 'run' end mode 'a' do option 'a-option' def run() puts 'a-run' end end mode 'x' do option 'x-option' def run() puts 'x-run' end mode 'y' do option 'y-option' def run() puts 'y-run' end end end }
Version data entries
34 entries across 33 versions & 2 rubygems