Class: CodeTools::AST::Arguments

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

Instance Method Summary collapse

Instance Method Details

#execute(e) ⇒ Object



302
303
304
305
306
# File 'lib/rubinius/code/compiler/evaluator.rb', line 302

def execute(e)
  array = @array.map { |x| x.execute(e) }
  array << @splat.execute if @splat.kind_of? SplatValue
  array
end