Class: ComponentHost::Host::Component

Inherits:
Struct
  • Object
show all
Defined in:
lib/component_host/host.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#initiatorObject

Returns the value of attribute initiator

Returns:

  • (Object)

    the current value of initiator



129
130
131
# File 'lib/component_host/host.rb', line 129

def initiator
  @initiator
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



129
130
131
# File 'lib/component_host/host.rb', line 129

def name
  @name
end

Instance Method Details

#startObject



130
131
132
# File 'lib/component_host/host.rb', line 130

def start
  initiator.()
end