Method: Executable#option_missing
- Defined in:
- lib/executable.rb
#option_missing(opt, argv) ⇒ Object
Override option_missing if needed. This receives the name of the option and the remaining arguments list. It must consume any arguments it uses from the begining of the list (i.e. in-place manipulation).
72 73 74 |
# File 'lib/executable.rb', line 72 def option_missing(opt, argv) raise NoOptionError, opt end |