Package org.jruby
Class RubyKernel
java.lang.Object
org.jruby.RubyKernel
Note: For CVS history, see KernelModule.java.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject__callee__(ThreadContext context, IRubyObject recv) static IRubyObject__dir__(ThreadContext context, IRubyObject recv) static IRubyObject__method__(ThreadContext context, IRubyObject recv) static IRubyObject_exec_internal(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectabort(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectat_exit(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectautoload(IRubyObject recv, IRubyObject symbol, IRubyObject file) Deprecated.static IRubyObjectautoload(ThreadContext context, IRubyObject recv, IRubyObject symbol, IRubyObject file) static IRubyObjectautoload_p(ThreadContext context, IRubyObject recv, IRubyObject symbol) static IRubyObjectbackquote(ThreadContext context, IRubyObject recv, IRubyObject str) static RubyBindingbinding(ThreadContext context, IRubyObject recv, Block block) static RubyBooleanblock_given_p(ThreadContext context, IRubyObject recv) static RubyBooleanblockGiven(ThreadContext context, IRubyObject recv, Block frameBlock) static IRubyObjectcaller(ThreadContext context, IRubyObject recv) static IRubyObjectcaller(ThreadContext context, IRubyObject recv, IRubyObject level) static IRubyObjectcaller(ThreadContext context, IRubyObject recv, IRubyObject level, IRubyObject length) static IRubyObjectcaller_locations(ThreadContext context, IRubyObject recv) static IRubyObjectcaller_locations(ThreadContext context, IRubyObject recv, IRubyObject level) static IRubyObjectcaller_locations(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectcaller_locations(ThreadContext context, IRubyObject recv, IRubyObject level, IRubyObject length) static IRubyObjectdefine_singleton_method(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectdisplay(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObjectdup(IRubyObject self) static IRubyObjecteql_p(IRubyObject self, IRubyObject obj) Deprecated.static IRubyObjecteql_p(ThreadContext context, IRubyObject self, IRubyObject obj) static IRubyObjecteval(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectexec(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectexit(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectexit(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectexit_bang(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectexit_bang(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectextend(IRubyObject self, IRubyObject[] args) Deprecated.static IRubyObjectextend(ThreadContext context, IRubyObject self, IRubyObject[] args) static RubyModulefinishKernelModule(ThreadContext context, RubyModule Kernel, RubyInstanceConfig config) static IRubyObjectfork(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectfreeze(ThreadContext context, IRubyObject self) static RubyBooleanfrozen_p(ThreadContext context, IRubyObject self) static IRubyObjectgetc(ThreadContext context, IRubyObject recv) Deprecated.static IRubyObjectgets(ThreadContext context, IRubyObject recv, IRubyObject[] args) static RubyArrayglobal_variables(ThreadContext context, IRubyObject recv) static IRubyObjectgsub(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block) static IRubyObjectgsub(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, Block block) static RubyFixnumhash(IRubyObject self) Deprecated.static RubyFixnumhash(ThreadContext context, IRubyObject self) static IRubyObjectinitialize_clone(ThreadContext context, IRubyObject self, IRubyObject original) static IRubyObjectinitialize_copy(IRubyObject self, IRubyObject original) Deprecated.static IRubyObjectinitialize_copy(ThreadContext context, IRubyObject self, IRubyObject original) static IRubyObjectinitialize_dup(ThreadContext context, IRubyObject self, IRubyObject original) static IRubyObjectinspect(IRubyObject self) Deprecated.static IRubyObjectinspect(ThreadContext context, IRubyObject self) static RubyBooleaninstance_of_p(ThreadContext context, IRubyObject self, IRubyObject type) static IRubyObjectinstance_variable_defined_p(ThreadContext context, IRubyObject self, IRubyObject name) static IRubyObjectinstance_variable_get(ThreadContext context, IRubyObject self, IRubyObject name) static IRubyObjectinstance_variable_set(IRubyObject self, IRubyObject name, IRubyObject value) static RubyArrayinstance_variables(ThreadContext context, IRubyObject self) static IRubyObjectitself(IRubyObject self) static RubyBooleankind_of_p(ThreadContext context, IRubyObject self, IRubyObject type) static RubyProclambda(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectload(IRubyObject recv, IRubyObject[] args, Block block) Deprecated.static IRubyObjectload(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectload(ThreadContext context, IRubyObject recv, IRubyObject path, Block block) static IRubyObjectload(ThreadContext context, IRubyObject recv, IRubyObject path, IRubyObject wrap, Block block) static RubyArraylocal_variables(ThreadContext context, IRubyObject recv) static IRubyObjectloop(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectmethod(IRubyObject self, IRubyObject symbol) Deprecated.static IRubyObjectmethod(ThreadContext context, IRubyObject self, IRubyObject symbol) static IRubyObjectmethod_missing(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectmethodMissing(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args) static IRubyObjectmethodMissing(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args, boolean dropFirst) static IRubyObjectmethodMissing(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args, Block block) Deprecated.protected static IRubyObjectmethodMissingDirect(ThreadContext context, IRubyObject recv, RubySymbol symbol, Visibility lastVis, CallType lastCallType, IRubyObject[] args) static IRubyObjectmethods(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObjectnew_array(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObjectnew_complex(ThreadContext context, IRubyObject recv, IRubyObject[] args) static RubyFloatnew_float(Ruby runtime, IRubyObject object) Deprecated.static RubyFloatnew_float(IRubyObject recv, IRubyObject object) Deprecated.static RubyFloatnew_float(ThreadContext context, IRubyObject object) static IRubyObjectnew_float(ThreadContext context, IRubyObject object, boolean exception) static IRubyObjectnew_float(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObjectnew_float(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject opts) static IRubyObjectnew_hash(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectnew_integer(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObjectnew_integer(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject baseOrOpts) static IRubyObjectnew_integer(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject base, IRubyObject opts) static IRubyObjectnew_rational(ThreadContext context, IRubyObject recv, IRubyObject arg0) static IRubyObjectnew_rational(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObjectnew_rational(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObjectnew_string(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObjectnil_p(ThreadContext context, IRubyObject self) static IRubyObjectobj_to_enum(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) static IRubyObjectobject_id(IRubyObject self) static IRubyObjectop_cmp(ThreadContext context, IRubyObject self, IRubyObject other) static IRubyObjectop_eqq(ThreadContext context, IRubyObject self, IRubyObject other) static IRubyObjectop_match(ThreadContext context, IRubyObject self, IRubyObject arg) Deprecated.static IRubyObjectop_not_match(ThreadContext context, IRubyObject self, IRubyObject arg) static IRubyObjectopen(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectp(ThreadContext context, IRubyObject recv, IRubyObject[] args) static doubleparseHexidecimalExponentString2(Ruby runtime, ByteList str) Deprecated.static doubleparseHexidecimalExponentString2(ThreadContext context, ByteList str) Parse hexidecimal exponential notation: ... This method assumes the string is a valid-formatted string.static IRubyObjectprint(ThreadContext context, IRubyObject recv) static IRubyObjectprint(ThreadContext context, IRubyObject recv, IRubyObject arg0) static IRubyObjectprint(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectprint(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObjectprint(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObjectprintf(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectprivate_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) static RubyProcproc(ThreadContext context, IRubyObject recv, Block block) static RubyProcproc_1_9(ThreadContext context, IRubyObject recv, Block block) Deprecated.static IRubyObjectprotected_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObjectpublic_method(ThreadContext context, IRubyObject recv, IRubyObject symbol) static IRubyObjectpublic_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObjectpublic_send(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectputc(ThreadContext context, IRubyObject recv, IRubyObject ch) rb_f_putcstatic IRubyObjectputs(ThreadContext context, IRubyObject recv) static IRubyObjectputs(ThreadContext context, IRubyObject recv, IRubyObject arg0) static IRubyObjectputs(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectputs(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObjectputs(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObjectraise(ThreadContext context, IRubyObject self, IRubyObject arg0) static IRubyObjectraise(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectrand(ThreadContext context, IRubyObject recv) static IRubyObjectrand(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectrand(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectrbCatch(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectrbCatch(ThreadContext context, IRubyObject recv, IRubyObject tag, Block block) static IRubyObjectrbClone(IRubyObject self) static IRubyObjectrbClone(ThreadContext context, IRubyObject self) static IRubyObjectrbClone(ThreadContext context, IRubyObject self, IRubyObject opts) static IRubyObjectrbThrow(ThreadContext context, IRubyObject recv, IRubyObject tag, Block block) static IRubyObjectrbThrow(ThreadContext context, IRubyObject recv, IRubyObject tag, IRubyObject value, Block block) static IRubyObjectreadline(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectreadlines(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectremove_instance_variable(ThreadContext context, IRubyObject self, IRubyObject name, Block block) static IRubyObjectrequire(IRubyObject recv, IRubyObject name, Block block) Deprecated.static IRubyObjectrequire(ThreadContext context, IRubyObject recv, IRubyObject name, Block block) Require.static IRubyObjectrequire_relative(ThreadContext context, IRubyObject recv, IRubyObject name) static IRubyObjectrespond_to_missing_p(ThreadContext context, IRubyObject recv, IRubyObject symbol) static IRubyObjectrespond_to_missing_p(ThreadContext context, IRubyObject recv, IRubyObject symbol, IRubyObject isPrivate) static RubyBooleanrespond_to_p(IRubyObject self, IRubyObject mname) Deprecated.static RubyBooleanrespond_to_p(IRubyObject self, IRubyObject mname, IRubyObject includePrivate) Deprecated.static IRubyObjectrespond_to_p(ThreadContext context, IRubyObject self, IRubyObject name) static IRubyObjectrespond_to_p(ThreadContext context, IRubyObject self, IRubyObject name, IRubyObject includePrivate) static IRubyObjectselect(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectsend(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) static IRubyObjectsend(ThreadContext context, IRubyObject self, IRubyObject arg0, Block block) static IRubyObjectsend(ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block) static IRubyObjectsend(ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) static IRubyObjectset_trace_func(ThreadContext context, IRubyObject recv, IRubyObject trace_func, Block block) static IRubyObjectsingleton_class(IRubyObject recv) Deprecated.static IRubyObjectsingleton_class(ThreadContext context, IRubyObject recv) static IRubyObjectsingleton_method(IRubyObject self, IRubyObject symbol) Deprecated.static IRubyObjectsingleton_method(ThreadContext context, IRubyObject self, IRubyObject symbol) static RubyArraysingleton_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObjectsleep(ThreadContext context, IRubyObject recv) static IRubyObjectsleep(ThreadContext context, IRubyObject recv, IRubyObject timeout) static IRubyObjectsleep(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static RubyFixnumspawn(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectsprintf(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectsprintf(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectsrand(ThreadContext context, IRubyObject recv) static IRubyObjectsrand(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectsyscall(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectsystem(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjecttap(ThreadContext context, IRubyObject recv, Block block) Deprecated.static IRubyObjecttest(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjecttest(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObjecttest(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObjectto_s(IRubyObject self) Deprecated.static IRubyObjectto_s(ThreadContext context, IRubyObject self) static IRubyObjecttrace_var(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static RubyClasstype(IRubyObject self) static IRubyObjectuntrace_var(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectwarn(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectwarn(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectyield_self(ThreadContext context, IRubyObject recv, Block block)
-
Constructor Details
-
RubyKernel
public RubyKernel()
-
-
Method Details
-
finishKernelModule
public static RubyModule finishKernelModule(ThreadContext context, RubyModule Kernel, RubyInstanceConfig config) -
at_exit
-
autoload_p
-
autoload
public static IRubyObject autoload(ThreadContext context, 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) -
methodMissing
public static IRubyObject methodMissing(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args) -
methodMissing
public static IRubyObject methodMissing(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args, boolean dropFirst) -
open
public static IRubyObject open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
getc
Deprecated. -
gets
-
abort
-
new_array
-
new_complex
-
new_rational
-
new_rational
public static IRubyObject new_rational(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) -
new_rational
public static IRubyObject new_rational(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
new_float
-
new_float
public static IRubyObject new_float(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject opts) -
new_float
Deprecated. -
new_float
Deprecated. -
new_float
-
parseHexidecimalExponentString2
@Deprecated(since="10.0") public static double parseHexidecimalExponentString2(Ruby runtime, ByteList str) Deprecated. -
parseHexidecimalExponentString2
Parse hexidecimal exponential notation: ... This method assumes the string is a valid-formatted string.- Parameters:
str- the bytelist to be parsed- Returns:
- the result.
-
new_float
-
new_hash
-
new_integer
-
new_integer
public static IRubyObject new_integer(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject baseOrOpts) -
new_integer
public static IRubyObject new_integer(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject base, IRubyObject opts) -
new_string
-
p
-
public_method
public static IRubyObject public_method(ThreadContext context, IRubyObject recv, IRubyObject symbol) -
putc
rb_f_putc -
puts
-
puts
-
puts
public static IRubyObject puts(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) -
puts
public static IRubyObject puts(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
puts
-
print
-
print
-
print
public static IRubyObject print(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) -
print
public static IRubyObject print(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
print
-
printf
-
readline
-
readlines
-
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) -
select
-
sleep
-
sleep
-
exit
Deprecated. -
exit
-
exit_bang
Deprecated. -
exit_bang
-
global_variables
- Parameters:
context-recv-- Returns:
- an Array with the names of all global variables.
-
local_variables
- Parameters:
context-recv-- Returns:
- an Array with the names of all local variables.
-
binding
-
block_given_p
-
blockGiven
-
sprintf
-
sprintf
Deprecated. -
raise
-
raise
public static IRubyObject raise(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
require
public static IRubyObject require(ThreadContext context, 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
-
require_relative
public static IRubyObject require_relative(ThreadContext context, IRubyObject recv, IRubyObject name) -
load
public static IRubyObject load(ThreadContext context, IRubyObject recv, IRubyObject path, Block block) -
load
public static IRubyObject load(ThreadContext context, IRubyObject recv, IRubyObject path, IRubyObject wrap, Block block) -
load
@Deprecated(since="9.4-") public static IRubyObject load(IRubyObject recv, IRubyObject[] args, Block block) Deprecated. -
load
public static IRubyObject load(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
eval
public static IRubyObject eval(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
caller
-
caller
-
caller
public static IRubyObject caller(ThreadContext context, IRubyObject recv, IRubyObject level, IRubyObject length) -
caller_locations
-
caller_locations
public static IRubyObject caller_locations(ThreadContext context, IRubyObject recv, IRubyObject level) -
caller_locations
public static IRubyObject caller_locations(ThreadContext context, IRubyObject recv, IRubyObject level, IRubyObject length) -
rbCatch
-
rbCatch
public static IRubyObject rbCatch(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 value, Block block) -
warn
-
warn
-
yield_self
-
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) -
define_singleton_method
public static IRubyObject define_singleton_method(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
proc
-
lambda
-
proc_1_9
Deprecated. -
loop
-
test
public static IRubyObject test(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) -
test
public static IRubyObject test(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
backquote
-
srand
-
srand
-
rand
-
rand
-
spawn
-
syscall
-
system
-
exec
-
_exec_internal
public static IRubyObject _exec_internal(ThreadContext context, IRubyObject recv, IRubyObject[] args) -
fork
-
obj_to_enum
public static IRubyObject obj_to_enum(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) -
__method__
-
__callee__
-
__dir__
-
singleton_class
Deprecated. -
singleton_class
-
public_send
public static IRubyObject public_send(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
eql_p
Deprecated. -
eql_p
-
op_eqq
-
op_cmp
-
initialize_copy
@Deprecated(since="10.0") public static IRubyObject initialize_copy(IRubyObject self, IRubyObject original) Deprecated.- Parameters:
self-original-- Returns:
-
initialize_copy
public static IRubyObject initialize_copy(ThreadContext context, IRubyObject self, IRubyObject original) -
initialize_clone
public static IRubyObject initialize_clone(ThreadContext context, IRubyObject self, IRubyObject original) -
initialize_dup
public static IRubyObject initialize_dup(ThreadContext context, IRubyObject self, IRubyObject original) -
respond_to_p
Deprecated. -
respond_to_p
@Deprecated public static RubyBoolean respond_to_p(IRubyObject self, IRubyObject mname, IRubyObject includePrivate) Deprecated. -
respond_to_p
-
respond_to_p
public static IRubyObject respond_to_p(ThreadContext context, IRubyObject self, IRubyObject name, IRubyObject includePrivate) -
hash
Deprecated. -
hash
-
type
-
rbClone
-
rbClone
-
dup
-
display
-
freeze
-
frozen_p
-
inspect
Deprecated. -
inspect
-
instance_of_p
-
itself
-
kind_of_p
-
methods
-
object_id
-
public_methods
public static IRubyObject public_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) -
protected_methods
public static IRubyObject protected_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) -
private_methods
public static IRubyObject private_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) -
singleton_methods
public static RubyArray singleton_methods(ThreadContext context, IRubyObject self, IRubyObject[] args) -
singleton_method
@Deprecated(since="10.0") public static IRubyObject singleton_method(IRubyObject self, IRubyObject symbol) Deprecated. -
singleton_method
public static IRubyObject singleton_method(ThreadContext context, IRubyObject self, IRubyObject symbol) -
method
-
to_s
Deprecated. -
to_s
-
extend
Deprecated. -
extend
-
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) -
nil_p
-
op_not_match
-
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
-
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) -
rbClone
-
methodMissing
@Deprecated public static IRubyObject methodMissing(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args, Block block) Deprecated. -
caller_locations
@Deprecated public static IRubyObject caller_locations(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated. -
require
Deprecated. -
op_match
@Deprecated public static IRubyObject op_match(ThreadContext context, IRubyObject self, IRubyObject arg) Deprecated. -
autoload
@Deprecated public static IRubyObject autoload(IRubyObject recv, IRubyObject symbol, IRubyObject file) Deprecated. -
rand
@Deprecated public static IRubyObject rand(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated. -
method
Deprecated. -
tap
Deprecated. -
sleep
@Deprecated public static IRubyObject sleep(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated. -
test
@Deprecated public static IRubyObject test(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.
-
initialize_copy(ThreadContext, IRubyObject, IRubyObject)instead.