Sha256: 706f80404580b8dcdc2684658748a8e417b533e664fd365466dbdaf8ed04b9fb

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

require 'optiflag'

# Example 4:  Disallowing warnings to proceed
module Example extend OptiFlag::Flagset
  flag "dir" 
  flag "username"
  handle_errors_and_help  :with_no_warnings
end 

#h# ruby example_4.rb -garbage -dir c:/temp -username daniel -this-is-garbage that.is.left.over 


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optiflag-0.6 doc/example/example_4.rb