Exception: Rabbit::UnknownCursorTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/rabbit/rabbit.rb

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetText

included

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



243
244
245
# File 'lib/rabbit/rabbit.rb', line 243

def type
  @type
end

Instance Method Details

#intialize(type) ⇒ Object



244
245
246
247
# File 'lib/rabbit/rabbit.rb', line 244

def intialize(type)
  @type = type
  super(_("unknown cursor type: %s") % @type)
end