Class: Rubinius::ToolSets.current::ToolSet::AST::Send
- Defined in:
- lib/rubinius/compiler/evaluator.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#execute(e) ⇒ Object
285 286 287 288 289 |
# File 'lib/rubinius/compiler/evaluator.rb', line 285 def execute(e) receiver = execute_receiver(e) receiver.__send__ @name end |
#execute_receiver(e) ⇒ Object
277 278 279 280 281 282 283 |
# File 'lib/rubinius/compiler/evaluator.rb', line 277 def execute_receiver(e) if @receiver.kind_of? Self e.self else @receiver.execute(e) end end |