Sha256: 1b40cd14744c1b59fb9c1657946224222bb7f5c6673458dc995723445170077b

Contents?: true

Size: 232 Bytes

Versions: 17

Compression:

Stored size: 232 Bytes

Contents

require 'main'

Main {
  argument 'global-argument'
  option 'global-option'

  def run() puts 'global-run' end

  mode 'a' do
    option 'a-option'
  end

  mode 'b' do
    option 'b-option'

    def run() puts 'b-run' end
  end
}

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
ahoward-main-2.9.0 samples/e.rb
main-2.9.3 samples/e.rb
main-2.9.2 samples/e.rb
main-2.9.0 samples/e.rb
main-2.4.0 samples/e.rb
main-2.0.0 samples/e.rb
main-2.1.0 samples/e.rb
main-2.2.0 samples/e.rb
main-2.3.0 samples/e.rb
main-2.8.3 samples/e.rb
main-2.8.1 samples/e.rb
main-2.8.0 samples/e.rb
main-2.5.0 samples/e.rb
main-2.8.2 samples/e.rb
main-2.8.4 samples/e.rb
main-2.6.0 samples/e.rb
main-2.7.0 samples/e.rb