Top Level Namespace

Defined Under Namespace

Classes: OptionParser

Constant Summary collapse

OptParse =

An alias for OptionParser.

OptionParser

Instance Method Summary collapse

Instance Method Details

#xxx_handler(value) ⇒ Object



3
4
5
# File 'doc/optparse/ruby/method.rb', line 3

def xxx_handler(value)
  p ['Handler method for -xxx called with value:', value]
end

#yyy_handler(value) ⇒ Object



7
8
9
# File 'doc/optparse/ruby/method.rb', line 7

def yyy_handler(value)
  p ['Handler method for -yyy called with value:', value]
end