Method: RLTK::CG::Function::ParameterCollection#each
- Defined in:
- lib/rltk/cg/function.rb
#each {|val| ... } ⇒ Enumerator
An iterator for each parameter inside this collection.
208 209 210 211 212 213 214 |
# File 'lib/rltk/cg/function.rb', line 208 def each return to_enum :each unless block_given? self.size.times { |index| yield self[index] } self end |