Class: Benry::CmdApp::OptionParser
- Inherits:
-
Benry::CmdOpt::Parser
- Object
- Benry::CmdOpt::Parser
- Benry::CmdApp::OptionParser
- Defined in:
- lib/benry/cmdapp.rb
Instance Method Summary collapse
Instance Method Details
#parse(args, all: true) ⇒ Object
194 195 196 197 198 199 |
# File 'lib/benry/cmdapp.rb', line 194 def parse(args, all: true) #; [!iaawe] raises OptionError if option error found. return super rescue Benry::CmdOpt::OptionError => exc raise OptionError.new(exc.) end |