Exception: Rabbit::UnknownCursorTypeError
- Defined in:
- lib/rabbit/error.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnknownCursorTypeError
constructor
A new instance of UnknownCursorTypeError.
Methods included from GetText
Constructor Details
#initialize(type) ⇒ UnknownCursorTypeError
Returns a new instance of UnknownCursorTypeError.
214 215 216 217 |
# File 'lib/rabbit/error.rb', line 214 def initialize(type) @type = type super(_("unknown cursor type: %s") % @type) end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
213 214 215 |
# File 'lib/rabbit/error.rb', line 213 def type @type end |