public class JRuby extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JRuby.NativeFunctionTask |
Constructor and Description |
---|
JRuby() |
Modifier and Type | Method and Description |
---|---|
static int |
blockGiven(Ruby runtime)
rb_block_given_p
|
static long |
callRubyMethod(IRubyObject recv,
Object methodName,
IRubyObject[] args) |
static long |
callRubyMethod0(IRubyObject recv,
Object methodName) |
static long |
callRubyMethod1(IRubyObject recv,
Object methodName,
IRubyObject arg1) |
static long |
callRubyMethod2(IRubyObject recv,
Object methodName,
IRubyObject arg1,
IRubyObject arg2) |
static long |
callRubyMethod3(IRubyObject recv,
Object methodName,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static long |
callRubyMethodB(IRubyObject recv,
Object methodName,
IRubyObject[] args,
IRubyObject blockProc) |
static long |
callSuperMethod(Ruby runtime,
IRubyObject[] args) |
static void |
clearErrorInfo(Ruby runtime) |
static RubyProc |
getBlockProc(Ruby runtime)
rb_block_proc
|
static long |
getMetaClass(IRubyObject object) |
static long |
gv_get(Ruby runtime,
String name)
rb_gv_get
|
static long |
gv_set(Ruby runtime,
String name,
IRubyObject value)
rb_gv_set
|
static long |
instanceEval(IRubyObject self,
IRubyObject[] args) |
static long |
int2big(Ruby runtime,
long l) |
static long |
ll2inum(Ruby runtime,
long l) |
static long |
nativeBlockingRegion(Ruby runtime,
long blocking_func,
long blocking_data,
long unblocking_func,
long unblocking_data) |
static RubyFloat |
newFloat(Ruby runtime,
long handle,
double value) |
static DynamicMethod |
newMethod(RubyModule module,
long fn,
int arity) |
static IRubyObject |
newProc(Ruby runtime,
long fn) |
static long |
newString(Ruby runtime,
byte[] bytes,
int length,
boolean tainted) |
static IRubyObject |
newThread(Ruby runtime,
long fn,
IRubyObject args_ary) |
static void |
sysFail(Ruby runtime,
String message)
rb_sys_fail
|
static void |
sysFail(Ruby runtime,
String message,
int n) |
static void |
threadSleep(Ruby runtime,
int interval) |
static long |
uint2big(Ruby runtime,
long l) |
static long |
ull2inum(Ruby runtime,
long l) |
static IRubyObject |
yield(Ruby runtime,
RubyArray args)
rb_yield
|
public static long callRubyMethod(IRubyObject recv, Object methodName, IRubyObject[] args)
public static long callRubyMethodB(IRubyObject recv, Object methodName, IRubyObject[] args, IRubyObject blockProc)
public static long callRubyMethod0(IRubyObject recv, Object methodName)
public static long callRubyMethod1(IRubyObject recv, Object methodName, IRubyObject arg1)
public static long callRubyMethod2(IRubyObject recv, Object methodName, IRubyObject arg1, IRubyObject arg2)
public static long callRubyMethod3(IRubyObject recv, Object methodName, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
public static long callSuperMethod(Ruby runtime, IRubyObject[] args)
public static long instanceEval(IRubyObject self, IRubyObject[] args)
public static long newString(Ruby runtime, byte[] bytes, int length, boolean tainted)
public static DynamicMethod newMethod(RubyModule module, long fn, int arity)
public static IRubyObject newThread(Ruby runtime, long fn, IRubyObject args_ary)
public static IRubyObject newProc(Ruby runtime, long fn)
public static IRubyObject yield(Ruby runtime, RubyArray args)
public static int blockGiven(Ruby runtime)
public static long ll2inum(Ruby runtime, long l)
public static long ull2inum(Ruby runtime, long l)
public static long int2big(Ruby runtime, long l)
public static long uint2big(Ruby runtime, long l)
public static long gv_set(Ruby runtime, String name, IRubyObject value)
public static void clearErrorInfo(Ruby runtime)
public static void threadSleep(Ruby runtime, int interval)
public static long getMetaClass(IRubyObject object)
public static long nativeBlockingRegion(Ruby runtime, long blocking_func, long blocking_data, long unblocking_func, long unblocking_data)
Copyright © 2001-2014 JRuby. All Rights Reserved.