method
on
v2_5_5 -
Show latest stable
- Class:
OptionParser
on(*opts, &block)public
Add option switch and handler. See #make_switch for an explanation of parameters.
on(*opts, &block)Add option switch and handler. See #make_switch for an explanation of parameters.