Class: Avo::TurboFrameWrapperComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Avo::TurboFrameWrapperComponent
- Defined in:
- app/components/avo/turbo_frame_wrapper_component.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ TurboFrameWrapperComponent
constructor
A new instance of TurboFrameWrapperComponent.
Constructor Details
#initialize(name = nil) ⇒ TurboFrameWrapperComponent
Returns a new instance of TurboFrameWrapperComponent.
6 7 8 |
# File 'app/components/avo/turbo_frame_wrapper_component.rb', line 6 def initialize(name = nil) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'app/components/avo/turbo_frame_wrapper_component.rb', line 4 def name @name end |