Class: CodeTools::AST::SendWithArguments

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

Direct Known Subclasses

Yield

Instance Method Summary collapse

Methods inherited from Send

#execute_receiver

Instance Method Details

#execute(e) ⇒ Object



293
294
295
296
297
298
# File 'lib/rubinius/code/compiler/evaluator.rb', line 293

def execute(e)
  arguments = @arguments.execute(e)
  receiver = execute_receiver(e)

  receiver.__send__ @name, *arguments
end