Class: CSP::Process
- Inherits:
-
Object
- Object
- CSP::Process
- Defined in:
- lib/csp/process.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(&block) ⇒ Process
constructor
A new instance of Process.
- #start ⇒ Object
Constructor Details
#initialize(&block) ⇒ Process
Returns a new instance of Process.
7 8 9 |
# File 'lib/csp/process.rb', line 7 def initialize(&block) @block = block end |