Sha256: da75b948b1ce9f6144288fb34fcc8197592d91a55e5b4bfb7fa69987db92e679

Contents?: true

Size: 182 Bytes

Versions: 42

Compression:

Stored size: 182 Bytes

Contents

require 'main'

ARGV.replace %w( 42 ) if ARGV.empty?

Main {
  argument( 'foo' )
  option( 'bar' )

  run { puts "This is what to_options produces: #{params.to_options.inspect}" }
}

Version data entries

42 entries across 41 versions & 3 rubygems

Version Path
main-6.3.0 samples/g.rb
main-6.2.3 samples/g.rb
main-6.2.2 samples/g.rb
main-6.2.1 samples/g.rb
main-6.2.0 samples/g.rb
asana2flowdock-1.0.0 vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/g.rb
asana2flowdock-1.0.0 vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/g.rb
main-6.1.0 samples/g.rb
ahoward-main-2.9.0 samples/g.rb
main-6.0.0 samples/g.rb
main-5.3.2 samples/g.rb
main-5.3.1 samples/g.rb
main-5.2.0 samples/g.rb
main-5.1.1 samples/g.rb
main-5.1.0 samples/g.rb
main-5.0.1 samples/g.rb
main-5.0.0 samples/g.rb
main-4.8.1 samples/g.rb
main-4.8.0 samples/g.rb
main-4.7.7 samples/g.rb