Exception: Hypo::MissingComponentError
- Inherits:
-
ContainerError
- Object
- StandardError
- ContainerError
- Hypo::MissingComponentError
- Defined in:
- lib/hypo/missing_component_error.rb
Instance Attribute Summary collapse
-
#component_name ⇒ Object
readonly
Returns the value of attribute component_name.
Instance Method Summary collapse
-
#initialize(component_name) ⇒ MissingComponentError
constructor
A new instance of MissingComponentError.
Constructor Details
#initialize(component_name) ⇒ MissingComponentError
Returns a new instance of MissingComponentError.
5 6 7 8 9 10 |
# File 'lib/hypo/missing_component_error.rb', line 5 def initialize(component_name) = "Component with name \"#{component_name}\" is not registered" super() @component_name = component_name end |
Instance Attribute Details
#component_name ⇒ Object (readonly)
Returns the value of attribute component_name.
3 4 5 |
# File 'lib/hypo/missing_component_error.rb', line 3 def component_name @component_name end |