Module: OptionParser::Defaults::Arguments
- Defined in:
- lib/optparse/defaults.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#followed_by(*args) ⇒ Object
27 28 29 |
# File 'lib/optparse/defaults.rb', line 27 def followed_by(*args) dup.concat(args.flatten) end |
#help(before, indent) ⇒ Object
31 32 33 |
# File 'lib/optparse/defaults.rb', line 31 def help(before, indent) "#{before}\nDefaults:\n#{indent}#{join ' '}" end |