Module: CPEE::ProcessTransformation::Struct

Included in:
Conditional, Loop, Parallel
Defined in:
lib/cpee/processtransformation/structures.rb

Overview

}}}

Instance Method Summary collapse

Instance Method Details

#each(&a) ⇒ Object

{{{



31
32
33
# File 'lib/cpee/processtransformation/structures.rb', line 31

def each(&a)
  @sub.each{|s| a.call(s)}
end

#lengthObject



34
35
36
# File 'lib/cpee/processtransformation/structures.rb', line 34

def length
  @sub.length
end