Module: CPEE::Transformation::Struct

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

Overview

}}}

Instance Method Summary collapse

Instance Method Details

#each(&a) ⇒ Object

{{{



29
30
31
# File 'lib/cpee/transformation/structures.rb', line 29

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

#lengthObject



32
33
34
# File 'lib/cpee/transformation/structures.rb', line 32

def length
  @sub.length
end