Class: Panda::CMS::Admin::SlideoverComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Panda::CMS::Admin::SlideoverComponent
- Defined in:
- app/components/panda/cms/admin/slideover_component.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title: "Settings") ⇒ SlideoverComponent
constructor
A new instance of SlideoverComponent.
Constructor Details
#initialize(title: "Settings") ⇒ SlideoverComponent
Returns a new instance of SlideoverComponent.
9 10 11 |
# File 'app/components/panda/cms/admin/slideover_component.rb', line 9 def initialize(title: "Settings") @title = title end |
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
7 8 9 |
# File 'app/components/panda/cms/admin/slideover_component.rb', line 7 def title @title end |