Exception: Ridoku::InvalidConfig
- Inherits:
-
StandardError
- Object
- StandardError
- Ridoku::InvalidConfig
- Defined in:
- lib/ridoku/base.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, error) ⇒ InvalidConfig
constructor
A new instance of InvalidConfig.
Constructor Details
#initialize(type, error) ⇒ InvalidConfig
Returns a new instance of InvalidConfig.
13 14 15 16 |
# File 'lib/ridoku/base.rb', line 13 def initialize(type, error) self.type = type self.error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
11 12 13 |
# File 'lib/ridoku/base.rb', line 11 def error @error end |
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/ridoku/base.rb', line 11 def type @type end |