Class: Avo::TurboFrameWrapperComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/avo/turbo_frame_wrapper_component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (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