Exception: FoxTail::ComponentError
- Defined in:
- lib/fox_tail/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#component ⇒ Object
readonly
Returns the value of attribute component.
Instance Method Summary collapse
-
#initialize(component, msg = nil) ⇒ ComponentError
constructor
A new instance of ComponentError.
Constructor Details
#initialize(component, msg = nil) ⇒ ComponentError
Returns a new instance of ComponentError.
20 21 22 23 |
# File 'lib/fox_tail/errors.rb', line 20 def initialize(component, msg = nil) @component = component super(msg) end |
Instance Attribute Details
#component ⇒ Object (readonly)
Returns the value of attribute component.
18 19 20 |
# File 'lib/fox_tail/errors.rb', line 18 def component @component end |