Modifier and Type | Class and Description |
---|---|
static class |
JRubyLibrary.JRubyConfig |
static class |
JRubyLibrary.MethodExtensions |
Constructor and Description |
---|
JRubyLibrary() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
dereference(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
Unwrap the given Java-integration-wrapped object, returning the unwrapped
object.
|
static IRubyObject |
identity_hash(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
Provide the "identity" hash code that System.identityHashCode would produce.
|
void |
load(Ruby runtime,
boolean wrap) |
static IRubyObject |
reference(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
Wrap the given object as in Java integration and return the wrapper.
|
static IRubyObject |
reference0(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
Wrap the given object as in Java integration and return the wrapper.
|
public static IRubyObject reference(ThreadContext context, IRubyObject recv, IRubyObject obj)
public static IRubyObject reference0(ThreadContext context, IRubyObject recv, IRubyObject obj)
public static IRubyObject dereference(ThreadContext context, IRubyObject recv, IRubyObject obj)
public static IRubyObject identity_hash(ThreadContext context, IRubyObject recv, IRubyObject obj)
Copyright © 2001-2017 JRuby. All Rights Reserved.