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;
For SplatNode and ArgsCatNode calls.
public class FCallManyArgsBlockPassNode extends FCallNode {
    public FCallManyArgsBlockPassNode(ISourcePosition positionString nameNode argsBlockPassNode iter) {
        super(positionnameargsiter);
    }
    
    @Override
    public IRubyObject interpret(Ruby runtimeThreadContext contextIRubyObject selfBlock aBlock) {
        IRubyObject[] args = ((ArrayNodegetArgsNode()).interpretPrimitive(runtimecontextselfaBlock);
        
        return .call(contextselfselfargs, RuntimeHelpers.getBlock(runtimecontextselfaBlock));
    }
New to GrepCode? Check out our FAQ X