Exception: Kwalify::CommandOptionError
- Inherits:
-
KwalifyError
- Object
- StandardError
- KwalifyError
- Kwalify::CommandOptionError
- Defined in:
- lib/kwalify/main.rb
Instance Attribute Summary collapse
-
#error_symbol ⇒ Object
readonly
Returns the value of attribute error_symbol.
-
#option ⇒ Object
readonly
Returns the value of attribute option.
Instance Method Summary collapse
-
#initialize(message, option, error_symbol) ⇒ CommandOptionError
constructor
A new instance of CommandOptionError.
Constructor Details
#initialize(message, option, error_symbol) ⇒ CommandOptionError
Returns a new instance of CommandOptionError.
18 19 20 21 22 |
# File 'lib/kwalify/main.rb', line 18 def initialize(, option, error_symbol) super() @option = option @error_symbol = error_symbol end |
Instance Attribute Details
#error_symbol ⇒ Object (readonly)
Returns the value of attribute error_symbol.
23 24 25 |
# File 'lib/kwalify/main.rb', line 23 def error_symbol @error_symbol end |
#option ⇒ Object (readonly)
Returns the value of attribute option.
23 24 25 |
# File 'lib/kwalify/main.rb', line 23 def option @option end |