Exception: ViewComponentContrib::WrapperComponent::DoubleRenderError
- Inherits:
-
StandardError
- Object
- StandardError
- ViewComponentContrib::WrapperComponent::DoubleRenderError
- Defined in:
- lib/view_component_contrib/wrapper_component.rb
Instance Method Summary collapse
-
#initialize(component) ⇒ DoubleRenderError
constructor
A new instance of DoubleRenderError.
Constructor Details
#initialize(component) ⇒ DoubleRenderError
Returns a new instance of DoubleRenderError.
10 11 12 |
# File 'lib/view_component_contrib/wrapper_component.rb', line 10 def initialize(component) super("A child component could only be rendered once within a wrapper: #{component}") end |