public class JRubyWrapper extends Object
JRubyInterpreter| Constructor and Description |
|---|
JRubyWrapper(org.jruby.RubyObject rubyObject)
Creates a JRubyWrapper for the ruby object passed.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call(String methodName) |
Object |
call(String methodName,
Class<? extends Object> returnType) |
Object |
call(String methodName,
Class<? extends Object> returnType,
Object... params) |
Object |
call(String methodName,
Object... params) |
Object |
callStatic(String methodName) |
Object |
callStatic(String methodName,
Class<? extends Object> returnType) |
Object |
callStatic(String methodName,
Class<? extends Object> returnType,
Object... params) |
Object |
callStatic(String methodName,
Object... params) |
Object |
getRubyObject()
Gets the ruby object of this wrapper.
|
boolean |
respondTo(String methodName) |
Object |
set(String propName,
Object value) |
public JRubyWrapper(org.jruby.RubyObject rubyObject)
rubyObject - The ruby object to encapsulateCopyright © 2015. All Rights Reserved.