Method: Cmdline::CmdLine#is_option_set
- Defined in:
- lib/cmdline.rb
#is_option_set(name) ⇒ Object
346 347 348 349 350 |
# File 'lib/cmdline.rb', line 346 def is_option_set(name) opt = self.[name] raise(ArgumentError, "unknown option") if opt.nil? opt.set end |