Class: CodeTools::AST::Block

Inherits:
Node
  • Object
show all
Defined in:
lib/rubinius/code/compiler/evaluator.rb

Instance Method Summary collapse

Instance Method Details

#execute(e) ⇒ Object



186
187
188
189
190
191
192
193
# File 'lib/rubinius/code/compiler/evaluator.rb', line 186

def execute(e)
  val = nil
  @array.each do |x|
    val = x.execute(e)
  end

  return val
end