Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */
 
 package org.jruby.ast;
 
 import org.jruby.Ruby;

Author(s):
enebo
public class FCallTwoArgBlockPassNode extends FCallNode {
    private Node arg1;
    private Node arg2;
    
    public FCallTwoArgBlockPassNode(ISourcePosition positionString nameArrayNode argsBlockPassNode iter) {
        super(positionnameargsiter);
        
        assert args.size() == 2 : "args.size() is 2";
        
         = args.get(0);
         = args.get(1);
    }
    @Override
    public IRubyObject interpret(Ruby runtimeThreadContext contextIRubyObject selfBlock aBlock) {
        return .call(contextselfself,
                .interpret(runtimecontextselfaBlock),
                .interpret(runtimecontextselfaBlock),
                RuntimeHelpers.getBlock(runtimecontextselfaBlock));
    }
New to GrepCode? Check out our FAQ X