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 class
static 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 IRubyObject
abort
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
at_exit
(ThreadContext context, IRubyObject recv, Block block) static IRubyObject
autoload
(IRubyObject recv, IRubyObject symbol, IRubyObject file) Deprecated.static IRubyObject
autoload
(ThreadContext context, IRubyObject recv, IRubyObject symbol, IRubyObject file) static IRubyObject
autoload_p
(ThreadContext context, IRubyObject recv, IRubyObject symbol) static IRubyObject
backquote
(ThreadContext context, IRubyObject recv, IRubyObject str) static RubyBinding
binding
(ThreadContext context, IRubyObject recv, Block block) static RubyBoolean
block_given_p
(ThreadContext context, IRubyObject recv) static RubyBoolean
blockGiven
(ThreadContext context, IRubyObject recv, Block frameBlock) static IRubyObject
caller
(ThreadContext context, IRubyObject recv) static IRubyObject
caller
(ThreadContext context, IRubyObject recv, IRubyObject level) static IRubyObject
caller
(ThreadContext context, IRubyObject recv, IRubyObject level, IRubyObject length) static IRubyObject
caller_locations
(ThreadContext context, IRubyObject recv) static IRubyObject
caller_locations
(ThreadContext context, IRubyObject recv, IRubyObject level) static IRubyObject
caller_locations
(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
caller_locations
(ThreadContext context, IRubyObject recv, IRubyObject level, IRubyObject length) 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) Deprecated.static IRubyObject
eql_p
(ThreadContext context, IRubyObject self, IRubyObject obj) static IRubyObject
eval
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
exec
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
exit
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
exit
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
exit_bang
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
exit_bang
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
extend
(IRubyObject self, IRubyObject[] args) Deprecated.static IRubyObject
extend
(ThreadContext context, IRubyObject self, IRubyObject[] args) static RubyModule
finishKernelModule
(ThreadContext context, RubyModule Kernel, RubyInstanceConfig config) static IRubyObject
fork
(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) Deprecated.static IRubyObject
gets
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static RubyArray
global_variables
(ThreadContext context, IRubyObject recv) 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) Deprecated.static RubyFixnum
hash
(ThreadContext context, IRubyObject self) static IRubyObject
initialize_clone
(ThreadContext context, IRubyObject self, IRubyObject original) static IRubyObject
initialize_copy
(IRubyObject self, IRubyObject original) Deprecated.static IRubyObject
initialize_copy
(ThreadContext context, IRubyObject self, IRubyObject original) static IRubyObject
initialize_dup
(ThreadContext context, IRubyObject self, IRubyObject original) static IRubyObject
inspect
(IRubyObject self) Deprecated.static IRubyObject
inspect
(ThreadContext context, IRubyObject self) 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 IRubyObject
itself
(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) Deprecated.static IRubyObject
load
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
load
(ThreadContext context, IRubyObject recv, IRubyObject path, Block block) static IRubyObject
load
(ThreadContext context, IRubyObject recv, IRubyObject path, IRubyObject wrap, Block block) static RubyArray
local_variables
(ThreadContext context, IRubyObject recv) static IRubyObject
loop
(ThreadContext context, IRubyObject recv, Block block) static IRubyObject
method
(IRubyObject self, IRubyObject symbol) Deprecated.static IRubyObject
method
(ThreadContext context, IRubyObject self, IRubyObject symbol) static IRubyObject
method_missing
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
methodMissing
(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args) static IRubyObject
methodMissing
(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args, boolean dropFirst) static IRubyObject
methodMissing
(ThreadContext context, IRubyObject recv, String name, Visibility lastVis, CallType lastCallType, IRubyObject[] args, Block block) Deprecated.protected static IRubyObject
methodMissingDirect
(ThreadContext context, IRubyObject recv, RubySymbol symbol, Visibility lastVis, CallType lastCallType, IRubyObject[] args) static IRubyObject
methods
(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObject
new_array
(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObject
new_complex
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static RubyFloat
new_float
(Ruby runtime, IRubyObject object) Deprecated.static RubyFloat
new_float
(IRubyObject recv, IRubyObject object) Deprecated.static RubyFloat
new_float
(ThreadContext context, IRubyObject object) static IRubyObject
new_float
(ThreadContext context, IRubyObject object, boolean exception) static IRubyObject
new_float
(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObject
new_float
(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject opts) static IRubyObject
new_hash
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
new_integer
(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObject
new_integer
(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject baseOrOpts) static IRubyObject
new_integer
(ThreadContext context, IRubyObject recv, IRubyObject object, IRubyObject base, IRubyObject opts) static IRubyObject
new_rational
(ThreadContext context, IRubyObject recv, IRubyObject arg0) static IRubyObject
new_rational
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObject
new_rational
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObject
new_string
(ThreadContext context, IRubyObject recv, IRubyObject object) static IRubyObject
nil_p
(ThreadContext context, IRubyObject self) static IRubyObject
obj_to_enum
(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) static IRubyObject
object_id
(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_match
(ThreadContext context, IRubyObject self, IRubyObject arg) Deprecated.static IRubyObject
op_not_match
(ThreadContext context, IRubyObject self, IRubyObject arg) static IRubyObject
open
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
p
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static double
parseHexidecimalExponentString2
(Ruby runtime, ByteList str) Deprecated.static double
parseHexidecimalExponentString2
(ThreadContext context, ByteList str) Parse hexidecimal exponential notation: ... This method assumes the string is a valid-formatted string.static IRubyObject
print
(ThreadContext context, IRubyObject recv) static IRubyObject
print
(ThreadContext context, IRubyObject recv, IRubyObject arg0) static IRubyObject
print
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
print
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObject
print
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObject
printf
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
private_methods
(ThreadContext context, IRubyObject self, IRubyObject[] args) static RubyProc
proc
(ThreadContext context, IRubyObject recv, Block block) static RubyProc
proc_1_9
(ThreadContext context, IRubyObject recv, Block block) Deprecated.static IRubyObject
protected_methods
(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_send
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
putc
(ThreadContext context, IRubyObject recv, IRubyObject ch) rb_f_putcstatic IRubyObject
puts
(ThreadContext context, IRubyObject recv) static IRubyObject
puts
(ThreadContext context, IRubyObject recv, IRubyObject arg0) static IRubyObject
puts
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
puts
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObject
puts
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObject
raise
(ThreadContext context, IRubyObject self, IRubyObject arg0) static IRubyObject
raise
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
rand
(ThreadContext context, IRubyObject recv) static IRubyObject
rand
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
rand
(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
rbCatch
(ThreadContext context, IRubyObject recv, Block block) static IRubyObject
rbCatch
(ThreadContext context, IRubyObject recv, IRubyObject tag, Block block) static IRubyObject
rbClone
(IRubyObject self) static IRubyObject
rbClone
(ThreadContext context, IRubyObject self) static IRubyObject
rbClone
(ThreadContext context, IRubyObject self, IRubyObject opts) static IRubyObject
rbThrow
(ThreadContext context, IRubyObject recv, IRubyObject tag, Block block) static IRubyObject
rbThrow
(ThreadContext context, IRubyObject recv, IRubyObject tag, IRubyObject value, 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) Deprecated.static IRubyObject
require
(ThreadContext context, IRubyObject recv, IRubyObject name, Block block) Require.static IRubyObject
require_relative
(ThreadContext context, IRubyObject recv, IRubyObject name) 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) Deprecated.static RubyBoolean
respond_to_p
(IRubyObject self, IRubyObject mname, IRubyObject includePrivate) Deprecated.static IRubyObject
respond_to_p
(ThreadContext context, IRubyObject self, IRubyObject name) static IRubyObject
respond_to_p
(ThreadContext context, IRubyObject self, IRubyObject name, IRubyObject includePrivate) static IRubyObject
select
(ThreadContext context, IRubyObject recv, IRubyObject[] args) 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
set_trace_func
(ThreadContext context, IRubyObject recv, IRubyObject trace_func, Block block) static IRubyObject
singleton_class
(IRubyObject recv) Deprecated.static IRubyObject
singleton_class
(ThreadContext context, IRubyObject recv) static IRubyObject
singleton_method
(IRubyObject self, IRubyObject symbol) Deprecated.static IRubyObject
singleton_method
(ThreadContext context, IRubyObject self, IRubyObject symbol) static RubyArray
singleton_methods
(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObject
sleep
(ThreadContext context, IRubyObject recv) static IRubyObject
sleep
(ThreadContext context, IRubyObject recv, IRubyObject timeout) static IRubyObject
sleep
(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static RubyFixnum
spawn
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
sprintf
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
sprintf
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
srand
(ThreadContext context, IRubyObject recv) static IRubyObject
srand
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
syscall
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
system
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
tap
(ThreadContext context, IRubyObject recv, Block block) Deprecated.static IRubyObject
test
(ThreadContext context, IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
test
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) static IRubyObject
test
(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObject
to_s
(IRubyObject self) Deprecated.static IRubyObject
to_s
(ThreadContext context, IRubyObject self) static IRubyObject
trace_var
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static RubyClass
type
(IRubyObject self) static IRubyObject
untrace_var
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
warn
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
warn
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
yield_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.