Class: HelloComponentListeners::Presenter

Inherits:
Object
  • Object
show all
Defined in:
lib/glimmer-dsl-web/samples/hello/hello_component_listeners.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePresenter

Returns a new instance of Presenter.



273
274
275
# File 'lib/glimmer-dsl-web/samples/hello/hello_component_listeners.rb', line 273

def initialize
  @status_message = "Accordion section 1 is expanded!"
end

Instance Attribute Details

#status_messageObject

Returns the value of attribute status_message.



271
272
273
# File 'lib/glimmer-dsl-web/samples/hello/hello_component_listeners.rb', line 271

def status_message
  @status_message
end