Class: Benry::CmdApp::OptionParser

Inherits:
Benry::CmdOpt::Parser
  • Object
show all
Defined in:
lib/benry/cmdapp.rb

Instance Method Summary collapse

Instance Method Details

#parse(args, all: true) ⇒ Object



190
191
192
193
194
195
# File 'lib/benry/cmdapp.rb', line 190

def parse(args, all: true)
  #; [!iaawe] raises OptionError if option error found.
  return super
rescue Benry::CmdOpt::OptionError => exc
  raise OptionError.new(exc.message)
end