Exception: Boxafe::OptionError
Instance Attribute Summary collapse
-
#option ⇒ Object
readonly
Returns the value of attribute option.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(msg, option = nil) ⇒ OptionError
constructor
A new instance of OptionError.
Constructor Details
#initialize(msg, option = nil) ⇒ OptionError
Returns a new instance of OptionError.
22 23 24 25 |
# File 'lib/boxafe.rb', line 22 def initialize msg, option = nil super msg @option = option end |
Instance Attribute Details
#option ⇒ Object (readonly)
Returns the value of attribute option.
20 21 22 |
# File 'lib/boxafe.rb', line 20 def option @option end |