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

N_, _, bindtextdomain, locale=

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



233
234
235
# File 'lib/rabbit/rabbit.rb', line 233

def type
  @type
end

Instance Method Details

#intialize(type) ⇒ Object



234
235
236
237
# File 'lib/rabbit/rabbit.rb', line 234

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