Class: HelloComponentListenersDefaultSlot::Presenter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePresenter

Returns a new instance of Presenter.



276
277
278
# File 'lib/glimmer-dsl-web/samples/hello/hello_component_listeners_default_slot.rb', line 276

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

Instance Attribute Details

#status_messageObject

Returns the value of attribute status_message.



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

def status_message
  @status_message
end