Exception: Rabbit::ImmutableSourceTypeError
- Defined in:
- lib/rabbit/error.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#source_type ⇒ Object
readonly
Returns the value of attribute source_type.
Instance Method Summary collapse
-
#initialize(source_type) ⇒ ImmutableSourceTypeError
constructor
A new instance of ImmutableSourceTypeError.
Methods included from GetText
Constructor Details
#initialize(source_type) ⇒ ImmutableSourceTypeError
Returns a new instance of ImmutableSourceTypeError.
141 142 143 144 |
# File 'lib/rabbit/error.rb', line 141 def initialize(source_type) @source_type = source_type super(_("immutable source type: %s") % @source_type) end |
Instance Attribute Details
#source_type ⇒ Object (readonly)
Returns the value of attribute source_type.
140 141 142 |
# File 'lib/rabbit/error.rb', line 140 def source_type @source_type end |