Class: PandaCms::Admin::SlideoverComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- PandaCms::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.
8 9 10 |
# File 'app/components/panda_cms/admin/slideover_component.rb', line 8 def initialize(title: "Settings") @title = title end |
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
6 7 8 |
# File 'app/components/panda_cms/admin/slideover_component.rb', line 6 def title @title end |