Class: Verneuil::ProcessGroup::Root

Inherits:
Struct
  • Object
show all
Defined in:
lib/verneuil/process_group.rb

Overview

Make our root conform to the interface group#step implements.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#processObject

Returns the value of attribute process

Returns:

  • (Object)

    the current value of process



10
11
12
# File 'lib/verneuil/process_group.rb', line 10

def process
  @process
end

Instance Method Details

#halted?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/verneuil/process_group.rb', line 16

def halted?
  process.halted?
end

#stepObject



11
12
13
14
# File 'lib/verneuil/process_group.rb', line 11

def step
  process.step
  return true
end