Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ir.instructions.calladapter;
 
    private Operand arg1;
    public OneArgBlockOperandCallAdapter(CallSite callSiteOperand[] argsOperand closure) {
        super(callSiteclosure);
        assert args.length == 1;
         = args[0];
    }
    @Override
    public Object call(ThreadContext contextIRubyObject selfIRubyObject receiverDynamicScope currDynScopeObject[] temp) {
        IRubyObject value1 = (IRubyObject.retrieve(contextselfcurrDynScopetemp);
        Block block = prepareBlock(contextselfcurrDynScopetemp);
        return .call(contextselfreceivervalue1block);
    }
New to GrepCode? Check out our FAQ X