Class: StompBase::Pages::ConsoleComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- StompBase::Pages::ConsoleComponent
- Defined in:
- app/components/stomp_base/pages/console_component.rb
Instance Method Summary collapse
-
#initialize(title: nil) ⇒ ConsoleComponent
constructor
A new instance of ConsoleComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(title: nil) ⇒ ConsoleComponent
Returns a new instance of ConsoleComponent.
6 7 8 9 |
# File 'app/components/stomp_base/pages/console_component.rb', line 6 def initialize(title: nil) super() @title = title || t("stomp_base.console.title") end |