Exception: Rabbit::CantAllocateColorError
- Defined in:
- lib/rabbit/rabbit.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
Instance Method Summary collapse
-
#initialize(color) ⇒ CantAllocateColorError
constructor
A new instance of CantAllocateColorError.
Methods included from GetText
Constructor Details
#initialize(color) ⇒ CantAllocateColorError
Returns a new instance of CantAllocateColorError.
130 131 132 133 |
# File 'lib/rabbit/rabbit.rb', line 130 def initialize(color) @color = color super(_("can't allocate color: %s"), color) end |
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color.
129 130 131 |
# File 'lib/rabbit/rabbit.rb', line 129 def color @color end |