Exception: Grumlin::UnknownMapKey
- Inherits:
-
InternalClientError
- Object
- StandardError
- Error
- InternalClientError
- Grumlin::UnknownMapKey
- Defined in:
- lib/grumlin.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#map ⇒ Object
readonly
Returns the value of attribute map.
Instance Method Summary collapse
-
#initialize(key, map) ⇒ UnknownMapKey
constructor
A new instance of UnknownMapKey.
Constructor Details
#initialize(key, map) ⇒ UnknownMapKey
Returns a new instance of UnknownMapKey.
131 132 133 134 135 |
# File 'lib/grumlin.rb', line 131 def initialize(key, map) @key = key @map = map super("Cannot cast key #{key} in map #{map}") end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
129 130 131 |
# File 'lib/grumlin.rb', line 129 def key @key end |
#map ⇒ Object (readonly)
Returns the value of attribute map.
129 130 131 |
# File 'lib/grumlin.rb', line 129 def map @map end |