method

on

v1_9_1_378 - Show latest stable - Class: OptionParser
on(*opts, &block)
public

Add option switch and handler. See #make_switch for an explanation of parameters.