Class: LesliView::Layout::Container
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- LesliView::Layout::Container
- Defined in:
- lib/lesli_view/layout/container.rb
Instance Attribute Summary collapse
-
#dashboard ⇒ Object
readonly
Returns the value of attribute dashboard.
-
#turbo_frame_id ⇒ Object
readonly
Returns the value of attribute turbo_frame_id.
Instance Method Summary collapse
-
#initialize(turbo_frame_id, dashboard: false) ⇒ Container
constructor
A new instance of Container.
Constructor Details
#initialize(turbo_frame_id, dashboard: false) ⇒ Container
Returns a new instance of Container.
41 42 43 44 |
# File 'lib/lesli_view/layout/container.rb', line 41 def initialize(turbo_frame_id, dashboard: false) @turbo_frame_id = turbo_frame_id @dashboard = dashboard end |
Instance Attribute Details
#dashboard ⇒ Object (readonly)
Returns the value of attribute dashboard.
39 40 41 |
# File 'lib/lesli_view/layout/container.rb', line 39 def dashboard @dashboard end |
#turbo_frame_id ⇒ Object (readonly)
Returns the value of attribute turbo_frame_id.
38 39 40 |
# File 'lib/lesli_view/layout/container.rb', line 38 def turbo_frame_id @turbo_frame_id end |