Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.runtime.callsite;
 
 
 public class ShiftRightCallSite extends NormalCachingCallSite {
 
     public ShiftRightCallSite() {
        super(">>");
    }
    public IRubyObject call(ThreadContext contextIRubyObject callerIRubyObject selflong fixnum) {
        if (self instanceof RubyFixnum && !context.runtime.isFixnumReopened()) {
            return ((RubyFixnumself).op_rshift(fixnum);
        }
        return super.call(contextcallerselffixnum);
    }
    @Override
    public IRubyObject call(ThreadContext contextIRubyObject callerIRubyObject selfIRubyObject arg) {
        if (self instanceof RubyFixnum && !context.runtime.isFixnumReopened()) {
            return ((RubyFixnumself).op_rshift(arg);
        }
        return super.call(contextcallerselfarg);
    }
New to GrepCode? Check out our FAQ X