Exception: FoxTail::ComponentError

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

Direct Known Subclasses

ReservedOption

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#componentObject (readonly)

Returns the value of attribute component.



18
19
20
# File 'lib/fox_tail/errors.rb', line 18

def component
  @component
end