Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.jruby;
 

Author(s):
nicksieger
public interface RubyObjectAdapter {
    boolean isKindOf(IRubyObject valueRubyModule rubyModule);
    IRubyObject setInstanceVariable(IRubyObject objString variableNameIRubyObject value);
    IRubyObject getInstanceVariable(IRubyObject objString variableName);
    
    // These call* assume ThreadContext = receiver.getRuntime().getCurrentContext()
    IRubyObject callMethod(IRubyObject receiverString methodName);
    IRubyObject callMethod(IRubyObject receiverString methodNameIRubyObject singleArg);
    IRubyObject callMethod(IRubyObject receiverString methodNameIRubyObject[] args);
    IRubyObject callMethod(IRubyObject receiverString methodNameIRubyObject[] argsBlock block);
    IRubyObject callSuper(IRubyObject receiverIRubyObject[] args);
    IRubyObject callSuper(IRubyObject receiverIRubyObject[] argsBlock block);
New to GrepCode? Check out our FAQ X