Class: CodeTools::AST::HashLiteral

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

Instance Method Summary collapse

Instance Method Details

#execute(e) ⇒ Object



221
222
223
224
# File 'lib/rubinius/code/compiler/evaluator.rb', line 221

def execute(e)
  args = @array.map { |x| x.execute(e) }
  Hash[*args]
end