Exception: D13n::Cli::Command::CommandFailure
- Inherits:
-
StandardError
- Object
- StandardError
- D13n::Cli::Command::CommandFailure
- Defined in:
- lib/d13n/cli/command.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(message, opt_parser = nil) ⇒ CommandFailure
constructor
A new instance of CommandFailure.
Constructor Details
#initialize(message, opt_parser = nil) ⇒ CommandFailure
Returns a new instance of CommandFailure.
11 12 13 14 |
# File 'lib/d13n/cli/command.rb', line 11 def initialize , opt_parser=nil super @options = opt_parser end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/d13n/cli/command.rb', line 10 def @options end |