org.jruby.javasupport.binding.InstanceMethodInvokerInstaller Maven / Gradle / Ivy
package org.jruby.javasupport.binding;
import org.jruby.RubyModule;
import org.jruby.java.invokers.InstanceMethodInvoker;
/**
* Created by headius on 2/26/15.
*/
public class InstanceMethodInvokerInstaller extends MethodInstaller {
public InstanceMethodInvokerInstaller(String name) { super(name, INSTANCE_METHOD); }
@Override void install(final RubyModule proxy) {
if ( hasLocalMethod() ) {
defineMethods(proxy, new InstanceMethodInvoker(proxy, methods, name));
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy