All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.runtime.callsite.FunctionalCachingCallSite Maven / Gradle / Ivy

There is a newer version: 9.4.7.0
Show newest version
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 FunctionalCachingCallSite extends CachingCallSite {
    public FunctionalCachingCallSite(String methodName) {
        super(methodName, CallType.FUNCTIONAL);
        totalCallSites++;
    }

    protected boolean methodMissing(DynamicMethod method, IRubyObject caller) {
        return method.isUndefined();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy