Class: ProcessHost::Controls::Component::Example

Inherits:
Object
  • Object
show all
Includes:
ProcessHost::Component
Defined in:
lib/process_host/controls/component.rb

Constant Summary collapse

A =
Class.new Example
B =
Class.new Example
C =
Class.new Example

Instance Attribute Summary

Attributes included from ProcessHost::Component

#supervisor

Instance Method Summary collapse

Methods included from ProcessHost::Component

included

Instance Method Details

#startObject



7
8
9
10
11
# File 'lib/process_host/controls/component.rb', line 7

def start
  address, thread = Actor::Example.start include: %i(thread)

  supervisor.add address, thread
end