org.jruby
Class RubyKernel
java.lang.Object
org.jruby.RubyKernel
public class RubyKernel
- extends java.lang.Object
Note: For CVS history, see KernelModule.java.
Method Summary |
static IRubyObject |
__method__(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
abort(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
at_exit(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
autoload_p(ThreadContext context,
IRubyObject recv,
IRubyObject symbol)
|
static IRubyObject |
autoload(IRubyObject recv,
IRubyObject symbol,
IRubyObject file)
|
static IRubyObject |
backquote(ThreadContext context,
IRubyObject recv,
IRubyObject aString)
|
static RubyBinding |
binding(ThreadContext context,
IRubyObject recv,
Block block)
|
static RubyBinding |
binding19(ThreadContext context,
IRubyObject recv,
Block block)
|
static RubyBoolean |
block_given_p(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
callcc(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
caller(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
chomp_bang(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
chomp_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0)
|
static IRubyObject |
chomp_bang(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
Deprecated. Use the zero or one-arg versions. |
static IRubyObject |
chomp(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
chomp(ThreadContext context,
IRubyObject recv,
IRubyObject arg0)
|
static IRubyObject |
chop_bang(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
chop(ThreadContext context,
IRubyObject recv,
Block block)
|
static RubyModule |
createKernelModule(Ruby runtime)
|
static IRubyObject |
define_singleton_method(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
display(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
dup(IRubyObject self)
|
static IRubyObject |
eql_p(IRubyObject self,
IRubyObject obj)
|
static IRubyObject |
equal_p(ThreadContext context,
IRubyObject self,
IRubyObject other)
|
static IRubyObject |
eval(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
eval19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
exec(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
exit_bang(IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
exit(IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
extend(IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
fork(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
fork19(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
freeze(ThreadContext context,
IRubyObject self)
|
static RubyBoolean |
frozen_p(ThreadContext context,
IRubyObject self)
|
static IRubyObject |
getc(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
gets(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static RubyArray |
global_variables(ThreadContext context,
IRubyObject recv)
Returns an Array with the names of all global variables. |
static RubyArray |
global_variables19(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
gsub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
Deprecated. Use the one or two-arg versions. |
static IRubyObject |
gsub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
|
static IRubyObject |
gsub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static IRubyObject |
gsub(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
Deprecated. Use the one or two-arg versions. |
static IRubyObject |
gsub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
|
static IRubyObject |
gsub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static RubyFixnum |
hash(IRubyObject self)
|
static IRubyObject |
id_deprecated(IRubyObject self)
|
static IRubyObject |
id(IRubyObject self)
|
static IRubyObject |
initialize_copy(IRubyObject self,
IRubyObject original)
|
static IRubyObject |
inspect(IRubyObject self)
|
static IRubyObject |
instance_eval(ThreadContext context,
IRubyObject self,
Block block)
|
static IRubyObject |
instance_eval(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block)
|
static IRubyObject |
instance_eval(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static IRubyObject |
instance_eval(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
|
static IRubyObject |
instance_exec(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
|
static RubyBoolean |
instance_of_p(ThreadContext context,
IRubyObject self,
IRubyObject type)
|
static IRubyObject |
instance_variable_defined_p(ThreadContext context,
IRubyObject self,
IRubyObject name)
|
static IRubyObject |
instance_variable_get(ThreadContext context,
IRubyObject self,
IRubyObject name)
|
static IRubyObject |
instance_variable_set(IRubyObject self,
IRubyObject name,
IRubyObject value)
|
static RubyArray |
instance_variables(ThreadContext context,
IRubyObject self)
|
static RubyArray |
instance_variables19(ThreadContext context,
IRubyObject self)
|
static RubyBoolean |
kind_of_p(ThreadContext context,
IRubyObject self,
IRubyObject type)
|
static RubyProc |
lambda(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
load(IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
load19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static RubyArray |
local_variables(ThreadContext context,
IRubyObject recv)
Returns an Array with the names of all local variables. |
static RubyArray |
local_variables19(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
loop(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
method_missing(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
method(IRubyObject self,
IRubyObject symbol)
|
static IRubyObject |
method19(IRubyObject self,
IRubyObject symbol)
|
protected static IRubyObject |
methodMissingDirect(ThreadContext context,
IRubyObject recv,
RubySymbol symbol,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
Block block)
|
static IRubyObject |
methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
new_array(ThreadContext context,
IRubyObject recv,
IRubyObject object)
|
static IRubyObject |
new_complex(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
new_complex(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
|
static IRubyObject |
new_complex(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1)
|
static RubyFloat |
new_float(IRubyObject recv,
IRubyObject object)
|
static RubyFloat |
new_float19(IRubyObject recv,
IRubyObject object)
|
static IRubyObject |
new_integer(ThreadContext context,
IRubyObject recv,
IRubyObject object)
|
static IRubyObject |
new_integer19(ThreadContext context,
IRubyObject recv,
IRubyObject object)
|
static IRubyObject |
new_integer19(ThreadContext context,
IRubyObject recv,
IRubyObject object,
IRubyObject base)
|
static IRubyObject |
new_rational(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
new_rational(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
|
static IRubyObject |
new_rational(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1)
|
static IRubyObject |
new_string(ThreadContext context,
IRubyObject recv,
IRubyObject object)
|
static IRubyObject |
new_string19(ThreadContext context,
IRubyObject recv,
IRubyObject object)
|
static IRubyObject |
nil_p(ThreadContext context,
IRubyObject self)
|
static IRubyObject |
op_cmp(ThreadContext context,
IRubyObject self,
IRubyObject other)
|
static IRubyObject |
op_eqq(ThreadContext context,
IRubyObject self,
IRubyObject other)
|
static IRubyObject |
op_equal(ThreadContext context,
IRubyObject self,
IRubyObject other)
|
static IRubyObject |
op_match(ThreadContext context,
IRubyObject self,
IRubyObject arg)
|
static IRubyObject |
op_match19(ThreadContext context,
IRubyObject self,
IRubyObject arg)
|
static IRubyObject |
op_not_match(ThreadContext context,
IRubyObject self,
IRubyObject arg)
|
static IRubyObject |
open(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
open19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
p(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
print(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
printf(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
private_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
private_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static RubyProc |
proc_1_9(ThreadContext context,
IRubyObject recv,
Block block)
|
static RubyProc |
proc(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
protected_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
protected_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
public_method(ThreadContext context,
IRubyObject recv,
IRubyObject symbol)
|
static IRubyObject |
public_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
public_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
public_send(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
putc(ThreadContext context,
IRubyObject recv,
IRubyObject ch)
rb_f_putc |
static IRubyObject |
puts(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
raise(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static RubyNumeric |
rand(ThreadContext context,
IRubyObject recv)
|
static RubyNumeric |
rand(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
|
static RubyNumeric |
rand19(ThreadContext context,
IRubyObject recv)
|
static RubyNumeric |
rand19(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
|
static IRubyObject |
rbCatch(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
|
static IRubyObject |
rbCatch19(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
rbCatch19(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
|
static IRubyObject |
rbClone(IRubyObject self)
|
static IRubyObject |
rbThrow(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
|
static IRubyObject |
rbThrow(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
IRubyObject arg,
Block block)
|
static IRubyObject |
rbThrow19(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
|
static IRubyObject |
rbThrow19(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
IRubyObject arg,
Block block)
|
static IRubyObject |
readline(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
readlines(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
remove_instance_variable(ThreadContext context,
IRubyObject self,
IRubyObject name,
Block block)
|
static IRubyObject |
require(IRubyObject recv,
IRubyObject name,
Block block)
Require. |
static IRubyObject |
require19(ThreadContext context,
IRubyObject recv,
IRubyObject name,
Block block)
|
static IRubyObject |
respond_to_missing_p(ThreadContext context,
IRubyObject recv,
IRubyObject symbol)
|
static IRubyObject |
respond_to_missing_p(ThreadContext context,
IRubyObject recv,
IRubyObject symbol,
IRubyObject isPrivate)
|
static RubyBoolean |
respond_to_p(IRubyObject self,
IRubyObject mname)
|
static RubyBoolean |
respond_to_p(IRubyObject self,
IRubyObject mname,
IRubyObject includePrivate)
|
static IRubyObject |
respond_to_p19(IRubyObject self,
IRubyObject mname)
|
static IRubyObject |
respond_to_p19(IRubyObject self,
IRubyObject mname,
IRubyObject includePrivate)
|
static IRubyObject |
scan(ThreadContext context,
IRubyObject recv,
IRubyObject pattern,
Block block)
|
static IRubyObject |
select(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
send(ThreadContext context,
IRubyObject self,
Block block)
|
static IRubyObject |
send(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
|
static IRubyObject |
send(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block)
|
static IRubyObject |
send(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static IRubyObject |
send(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
|
static IRubyObject |
send19(ThreadContext context,
IRubyObject self,
Block block)
|
static IRubyObject |
send19(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
|
static IRubyObject |
send19(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block)
|
static IRubyObject |
send19(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static IRubyObject |
send19(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
|
static IRubyObject |
set_trace_func(ThreadContext context,
IRubyObject recv,
IRubyObject trace_func,
Block block)
|
static IRubyObject |
singleton_class(IRubyObject recv)
|
static IRubyObject |
singleton_method_added(ThreadContext context,
IRubyObject recv,
IRubyObject symbolId,
Block block)
|
static IRubyObject |
singleton_method_removed(ThreadContext context,
IRubyObject recv,
IRubyObject symbolId,
Block block)
|
static IRubyObject |
singleton_method_undefined(ThreadContext context,
IRubyObject recv,
IRubyObject symbolId,
Block block)
|
static RubyArray |
singleton_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static RubyArray |
singleton_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
sleep(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static RubyFixnum |
spawn(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
split(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
split(ThreadContext context,
IRubyObject recv,
IRubyObject arg0)
|
static IRubyObject |
split(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
Deprecated. Use the versions with zero, one, or two args. |
static IRubyObject |
split(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1)
|
static IRubyObject |
sprintf(IRubyObject recv,
IRubyObject[] args)
Deprecated. |
static IRubyObject |
sprintf(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static RubyInteger |
srand(ThreadContext context,
IRubyObject recv)
|
static RubyInteger |
srand(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
|
static IRubyObject |
srand19(ThreadContext context,
IRubyObject recv)
|
static IRubyObject |
srand19(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
|
static IRubyObject |
sub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
Deprecated. Use the one or two-arg versions. |
static IRubyObject |
sub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
|
static IRubyObject |
sub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static IRubyObject |
sub(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
Deprecated. Use the one or two-arg versions. |
static IRubyObject |
sub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
|
static IRubyObject |
sub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
|
static IRubyObject |
syscall(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static RubyBoolean |
system(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
system19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
taint(ThreadContext context,
IRubyObject self)
|
static RubyBoolean |
tainted_p(ThreadContext context,
IRubyObject self)
|
static IRubyObject |
tap(ThreadContext context,
IRubyObject recv,
Block block)
|
static IRubyObject |
test(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static RubyArray |
to_a(IRubyObject self)
|
static IRubyObject |
to_enum(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
|
static IRubyObject |
to_s(IRubyObject self)
|
static IRubyObject |
trace_var(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
trap(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
trust(ThreadContext context,
IRubyObject self)
|
static RubyClass |
type_deprecated(IRubyObject self)
|
static RubyClass |
type(IRubyObject self)
|
static IRubyObject |
untaint(ThreadContext context,
IRubyObject self)
|
static IRubyObject |
untrace_var(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
untrust(ThreadContext context,
IRubyObject self)
|
static RubyBoolean |
untrusted_p(ThreadContext context,
IRubyObject self)
|
static IRubyObject |
warn(ThreadContext context,
IRubyObject recv,
IRubyObject message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IRUBY_OBJECT
public static final java.lang.Class<?> IRUBY_OBJECT
RubyKernel
public RubyKernel()
createKernelModule
public static RubyModule createKernelModule(Ruby runtime)
at_exit
public static IRubyObject at_exit(ThreadContext context,
IRubyObject recv,
Block block)
autoload_p
public static IRubyObject autoload_p(ThreadContext context,
IRubyObject recv,
IRubyObject symbol)
autoload
public static IRubyObject autoload(IRubyObject recv,
IRubyObject symbol,
IRubyObject file)
method_missing
public static IRubyObject method_missing(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
methodMissingDirect
protected static IRubyObject methodMissingDirect(ThreadContext context,
IRubyObject recv,
RubySymbol symbol,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
Block block)
open
public static IRubyObject open(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
open19
public static IRubyObject open19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
getc
public static IRubyObject getc(ThreadContext context,
IRubyObject recv)
gets
public static IRubyObject gets(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
abort
public static IRubyObject abort(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
new_array
public static IRubyObject new_array(ThreadContext context,
IRubyObject recv,
IRubyObject object)
new_complex
public static IRubyObject new_complex(ThreadContext context,
IRubyObject recv)
new_complex
public static IRubyObject new_complex(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
new_complex
public static IRubyObject new_complex(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1)
new_rational
public static IRubyObject new_rational(ThreadContext context,
IRubyObject recv)
new_rational
public static IRubyObject new_rational(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
new_rational
public static IRubyObject new_rational(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1)
new_float
public static RubyFloat new_float(IRubyObject recv,
IRubyObject object)
new_float19
public static RubyFloat new_float19(IRubyObject recv,
IRubyObject object)
new_integer
public static IRubyObject new_integer(ThreadContext context,
IRubyObject recv,
IRubyObject object)
new_integer19
public static IRubyObject new_integer19(ThreadContext context,
IRubyObject recv,
IRubyObject object)
new_integer19
public static IRubyObject new_integer19(ThreadContext context,
IRubyObject recv,
IRubyObject object,
IRubyObject base)
new_string
public static IRubyObject new_string(ThreadContext context,
IRubyObject recv,
IRubyObject object)
new_string19
public static IRubyObject new_string19(ThreadContext context,
IRubyObject recv,
IRubyObject object)
p
public static IRubyObject p(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
public_method
public static IRubyObject public_method(ThreadContext context,
IRubyObject recv,
IRubyObject symbol)
putc
public static IRubyObject putc(ThreadContext context,
IRubyObject recv,
IRubyObject ch)
- rb_f_putc
puts
public static IRubyObject puts(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
print
public static IRubyObject print(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
printf
public static IRubyObject printf(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
readline
public static IRubyObject readline(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
readlines
public static IRubyObject readlines(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
respond_to_missing_p
public static IRubyObject respond_to_missing_p(ThreadContext context,
IRubyObject recv,
IRubyObject symbol)
respond_to_missing_p
public static IRubyObject respond_to_missing_p(ThreadContext context,
IRubyObject recv,
IRubyObject symbol,
IRubyObject isPrivate)
sub_bang
public static IRubyObject sub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
- Deprecated. Use the one or two-arg versions.
- Variable-arity version for compatibility. Not bound to Ruby.
sub_bang
public static IRubyObject sub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
sub_bang
public static IRubyObject sub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
sub
public static IRubyObject sub(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
- Deprecated. Use the one or two-arg versions.
- Variable-arity version for compatibility. Not bound to Ruby.
sub
public static IRubyObject sub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
sub
public static IRubyObject sub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
gsub_bang
public static IRubyObject gsub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
- Deprecated. Use the one or two-arg versions.
- Variable-arity version for compatibility. Not bound to Ruby.
gsub_bang
public static IRubyObject gsub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
gsub_bang
public static IRubyObject gsub_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
gsub
public static IRubyObject gsub(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
- Deprecated. Use the one or two-arg versions.
- Variable-arity version for compatibility. Not bound to Ruby.
gsub
public static IRubyObject gsub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
Block block)
gsub
public static IRubyObject gsub(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1,
Block block)
chop_bang
public static IRubyObject chop_bang(ThreadContext context,
IRubyObject recv,
Block block)
chop
public static IRubyObject chop(ThreadContext context,
IRubyObject recv,
Block block)
chomp_bang
public static IRubyObject chomp_bang(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
- Deprecated. Use the zero or one-arg versions.
- Variable-arity version for compatibility. Not bound to Ruby.
chomp_bang
public static IRubyObject chomp_bang(ThreadContext context,
IRubyObject recv)
chomp_bang
public static IRubyObject chomp_bang(ThreadContext context,
IRubyObject recv,
IRubyObject arg0)
chomp
public static IRubyObject chomp(ThreadContext context,
IRubyObject recv)
chomp
public static IRubyObject chomp(ThreadContext context,
IRubyObject recv,
IRubyObject arg0)
split
public static IRubyObject split(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
- Deprecated. Use the versions with zero, one, or two args.
- Variable arity version for compatibility. Not bound to a Ruby method.
- Parameters:
context
- The thread context for the current threadrecv
- The receiver of the method (usually a class that has included Kernel)
- Returns:
split
public static IRubyObject split(ThreadContext context,
IRubyObject recv)
split
public static IRubyObject split(ThreadContext context,
IRubyObject recv,
IRubyObject arg0)
split
public static IRubyObject split(ThreadContext context,
IRubyObject recv,
IRubyObject arg0,
IRubyObject arg1)
scan
public static IRubyObject scan(ThreadContext context,
IRubyObject recv,
IRubyObject pattern,
Block block)
select
public static IRubyObject select(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
sleep
public static IRubyObject sleep(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
exit
public static IRubyObject exit(IRubyObject recv,
IRubyObject[] args)
exit_bang
public static IRubyObject exit_bang(IRubyObject recv,
IRubyObject[] args)
global_variables
public static RubyArray global_variables(ThreadContext context,
IRubyObject recv)
- Returns an Array with the names of all global variables.
global_variables19
public static RubyArray global_variables19(ThreadContext context,
IRubyObject recv)
local_variables
public static RubyArray local_variables(ThreadContext context,
IRubyObject recv)
- Returns an Array with the names of all local variables.
local_variables19
public static RubyArray local_variables19(ThreadContext context,
IRubyObject recv)
binding
public static RubyBinding binding(ThreadContext context,
IRubyObject recv,
Block block)
binding19
public static RubyBinding binding19(ThreadContext context,
IRubyObject recv,
Block block)
block_given_p
public static RubyBoolean block_given_p(ThreadContext context,
IRubyObject recv)
sprintf
@Deprecated
public static IRubyObject sprintf(IRubyObject recv,
IRubyObject[] args)
- Deprecated.
sprintf
public static IRubyObject sprintf(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
raise
public static IRubyObject raise(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
require
public static IRubyObject require(IRubyObject recv,
IRubyObject name,
Block block)
- Require.
MRI allows to require ever .rb files or ruby extension dll (.so or .dll depending on system).
we allow requiring either .rb files or jars.
- Parameters:
recv
- ruby object used to call require (any object will do and it won't be used anyway).name
- the name of the file to require
require19
public static IRubyObject require19(ThreadContext context,
IRubyObject recv,
IRubyObject name,
Block block)
load
public static IRubyObject load(IRubyObject recv,
IRubyObject[] args,
Block block)
load19
public static IRubyObject load19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
eval
public static IRubyObject eval(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
eval19
public static IRubyObject eval19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
callcc
public static IRubyObject callcc(ThreadContext context,
IRubyObject recv,
Block block)
caller
public static IRubyObject caller(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
rbCatch
public static IRubyObject rbCatch(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
rbCatch19
public static IRubyObject rbCatch19(ThreadContext context,
IRubyObject recv,
Block block)
rbCatch19
public static IRubyObject rbCatch19(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
rbThrow
public static IRubyObject rbThrow(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
rbThrow
public static IRubyObject rbThrow(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
IRubyObject arg,
Block block)
rbThrow19
public static IRubyObject rbThrow19(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
Block block)
rbThrow19
public static IRubyObject rbThrow19(ThreadContext context,
IRubyObject recv,
IRubyObject tag,
IRubyObject arg,
Block block)
trap
public static IRubyObject trap(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
warn
public static IRubyObject warn(ThreadContext context,
IRubyObject recv,
IRubyObject message)
set_trace_func
public static IRubyObject set_trace_func(ThreadContext context,
IRubyObject recv,
IRubyObject trace_func,
Block block)
trace_var
public static IRubyObject trace_var(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
untrace_var
public static IRubyObject untrace_var(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
singleton_method_added
public static IRubyObject singleton_method_added(ThreadContext context,
IRubyObject recv,
IRubyObject symbolId,
Block block)
singleton_method_removed
public static IRubyObject singleton_method_removed(ThreadContext context,
IRubyObject recv,
IRubyObject symbolId,
Block block)
singleton_method_undefined
public static IRubyObject singleton_method_undefined(ThreadContext context,
IRubyObject recv,
IRubyObject symbolId,
Block block)
define_singleton_method
public static IRubyObject define_singleton_method(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
proc
public static RubyProc proc(ThreadContext context,
IRubyObject recv,
Block block)
lambda
public static RubyProc lambda(ThreadContext context,
IRubyObject recv,
Block block)
proc_1_9
public static RubyProc proc_1_9(ThreadContext context,
IRubyObject recv,
Block block)
loop
public static IRubyObject loop(ThreadContext context,
IRubyObject recv,
Block block)
test
public static IRubyObject test(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
backquote
public static IRubyObject backquote(ThreadContext context,
IRubyObject recv,
IRubyObject aString)
srand
public static RubyInteger srand(ThreadContext context,
IRubyObject recv)
srand
public static RubyInteger srand(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
srand19
public static IRubyObject srand19(ThreadContext context,
IRubyObject recv)
srand19
public static IRubyObject srand19(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
rand
public static RubyNumeric rand(ThreadContext context,
IRubyObject recv)
rand
public static RubyNumeric rand(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
rand19
public static RubyNumeric rand19(ThreadContext context,
IRubyObject recv)
rand19
public static RubyNumeric rand19(ThreadContext context,
IRubyObject recv,
IRubyObject arg)
spawn
public static RubyFixnum spawn(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
syscall
public static IRubyObject syscall(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
system
public static RubyBoolean system(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
system19
public static IRubyObject system19(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
exec
public static IRubyObject exec(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
fork
public static IRubyObject fork(ThreadContext context,
IRubyObject recv,
Block block)
fork19
public static IRubyObject fork19(ThreadContext context,
IRubyObject recv,
Block block)
tap
public static IRubyObject tap(ThreadContext context,
IRubyObject recv,
Block block)
to_enum
public static IRubyObject to_enum(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
__method__
public static IRubyObject __method__(ThreadContext context,
IRubyObject recv)
singleton_class
public static IRubyObject singleton_class(IRubyObject recv)
public_send
public static IRubyObject public_send(ThreadContext context,
IRubyObject recv,
IRubyObject[] args)
op_equal
public static IRubyObject op_equal(ThreadContext context,
IRubyObject self,
IRubyObject other)
equal_p
public static IRubyObject equal_p(ThreadContext context,
IRubyObject self,
IRubyObject other)
eql_p
public static IRubyObject eql_p(IRubyObject self,
IRubyObject obj)
op_eqq
public static IRubyObject op_eqq(ThreadContext context,
IRubyObject self,
IRubyObject other)
op_cmp
public static IRubyObject op_cmp(ThreadContext context,
IRubyObject self,
IRubyObject other)
initialize_copy
public static IRubyObject initialize_copy(IRubyObject self,
IRubyObject original)
respond_to_p
public static RubyBoolean respond_to_p(IRubyObject self,
IRubyObject mname)
respond_to_p19
public static IRubyObject respond_to_p19(IRubyObject self,
IRubyObject mname)
respond_to_p
public static RubyBoolean respond_to_p(IRubyObject self,
IRubyObject mname,
IRubyObject includePrivate)
respond_to_p19
public static IRubyObject respond_to_p19(IRubyObject self,
IRubyObject mname,
IRubyObject includePrivate)
id
public static IRubyObject id(IRubyObject self)
id_deprecated
public static IRubyObject id_deprecated(IRubyObject self)
hash
public static RubyFixnum hash(IRubyObject self)
type
public static RubyClass type(IRubyObject self)
type_deprecated
public static RubyClass type_deprecated(IRubyObject self)
rbClone
public static IRubyObject rbClone(IRubyObject self)
dup
public static IRubyObject dup(IRubyObject self)
display
public static IRubyObject display(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
tainted_p
public static RubyBoolean tainted_p(ThreadContext context,
IRubyObject self)
taint
public static IRubyObject taint(ThreadContext context,
IRubyObject self)
untaint
public static IRubyObject untaint(ThreadContext context,
IRubyObject self)
freeze
public static IRubyObject freeze(ThreadContext context,
IRubyObject self)
frozen_p
public static RubyBoolean frozen_p(ThreadContext context,
IRubyObject self)
untrusted_p
public static RubyBoolean untrusted_p(ThreadContext context,
IRubyObject self)
untrust
public static IRubyObject untrust(ThreadContext context,
IRubyObject self)
trust
public static IRubyObject trust(ThreadContext context,
IRubyObject self)
inspect
public static IRubyObject inspect(IRubyObject self)
instance_of_p
public static RubyBoolean instance_of_p(ThreadContext context,
IRubyObject self,
IRubyObject type)
kind_of_p
public static RubyBoolean kind_of_p(ThreadContext context,
IRubyObject self,
IRubyObject type)
methods
public static IRubyObject methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
methods19
public static IRubyObject methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
public_methods
public static IRubyObject public_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
public_methods19
public static IRubyObject public_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
protected_methods
public static IRubyObject protected_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
protected_methods19
public static IRubyObject protected_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
private_methods
public static IRubyObject private_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
private_methods19
public static IRubyObject private_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
singleton_methods
public static RubyArray singleton_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
singleton_methods19
public static RubyArray singleton_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
method
public static IRubyObject method(IRubyObject self,
IRubyObject symbol)
method19
public static IRubyObject method19(IRubyObject self,
IRubyObject symbol)
to_s
public static IRubyObject to_s(IRubyObject self)
to_a
public static RubyArray to_a(IRubyObject self)
instance_eval
public static IRubyObject instance_eval(ThreadContext context,
IRubyObject self,
Block block)
instance_eval
public static IRubyObject instance_eval(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block)
instance_eval
public static IRubyObject instance_eval(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
instance_eval
public static IRubyObject instance_eval(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
instance_exec
public static IRubyObject instance_exec(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
extend
public static IRubyObject extend(IRubyObject self,
IRubyObject[] args)
send
public static IRubyObject send(ThreadContext context,
IRubyObject self,
Block block)
send
public static IRubyObject send(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block)
send
public static IRubyObject send(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
send
public static IRubyObject send(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
send
public static IRubyObject send(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
send19
public static IRubyObject send19(ThreadContext context,
IRubyObject self,
Block block)
send19
public static IRubyObject send19(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block)
send19
public static IRubyObject send19(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
send19
public static IRubyObject send19(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
send19
public static IRubyObject send19(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
nil_p
public static IRubyObject nil_p(ThreadContext context,
IRubyObject self)
op_match
public static IRubyObject op_match(ThreadContext context,
IRubyObject self,
IRubyObject arg)
op_match19
public static IRubyObject op_match19(ThreadContext context,
IRubyObject self,
IRubyObject arg)
op_not_match
public static IRubyObject op_not_match(ThreadContext context,
IRubyObject self,
IRubyObject arg)
instance_variable_defined_p
public static IRubyObject instance_variable_defined_p(ThreadContext context,
IRubyObject self,
IRubyObject name)
instance_variable_get
public static IRubyObject instance_variable_get(ThreadContext context,
IRubyObject self,
IRubyObject name)
instance_variable_set
public static IRubyObject instance_variable_set(IRubyObject self,
IRubyObject name,
IRubyObject value)
remove_instance_variable
public static IRubyObject remove_instance_variable(ThreadContext context,
IRubyObject self,
IRubyObject name,
Block block)
instance_variables
public static RubyArray instance_variables(ThreadContext context,
IRubyObject self)
instance_variables19
public static RubyArray instance_variables19(ThreadContext context,
IRubyObject self)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.