Class: StompBase::Pages::ConsoleComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/stomp_base/pages/console_component.rb

Instance Method Summary collapse

Methods inherited from BaseComponent

#call, #render?

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