org.jruby.runtime.callsite.VariableCachingCallSite Maven / Gradle / Ivy
package org.jruby.runtime.callsite;
import org.jruby.internal.runtime.methods.DynamicMethod;
import org.jruby.runtime.CallType;
import org.jruby.runtime.builtin.IRubyObject;
public class VariableCachingCallSite extends CachingCallSite {
public VariableCachingCallSite(String methodName) {
super(methodName, CallType.VARIABLE);
totalCallSites++;
}
protected boolean methodMissing(DynamicMethod method, IRubyObject caller) {
return method.isUndefined();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy