Method: Rednode::Process#initialize

Defined in:
lib/rednode/process.rb

#initialize(node) ⇒ Process

Returns a new instance of Process.



8
9
10
11
12
13
14
15
# File 'lib/rednode/process.rb', line 8

def initialize(node)
  @node = node
  @engine = node.engine
  @global = @engine.scope
  @bindings = {}
  @env = Env.new
  @scheduler = Rednode::Scheduler.new
end