Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
gems /
3.1.0 /
gems /
rbs-2.1.0 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
io
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
array.rbs
126.13
KB
-rw-r--r--
2022-04-12 11:11
basic_object.rbs
13.02
KB
-rw-r--r--
2022-04-12 11:11
binding.rbs
6.03
KB
-rw-r--r--
2022-04-12 11:11
builtin.rbs
1.42
KB
-rw-r--r--
2022-04-12 11:11
class.rbs
5.34
KB
-rw-r--r--
2022-04-12 11:11
comparable.rbs
5.55
KB
-rw-r--r--
2022-04-12 11:11
complex.rbs
14.38
KB
-rw-r--r--
2022-04-12 11:11
constants.rbs
1.71
KB
-rw-r--r--
2022-04-12 11:11
deprecated.rbs
186
B
-rw-r--r--
2022-04-12 11:11
dir.rbs
21.29
KB
-rw-r--r--
2022-04-12 11:11
encoding.rbs
24.15
KB
-rw-r--r--
2022-04-12 11:11
enumerable.rbs
79.8
KB
-rw-r--r--
2022-04-12 11:11
enumerator.rbs
15.43
KB
-rw-r--r--
2022-04-12 11:11
env.rbs
48.25
KB
-rw-r--r--
2022-04-12 11:11
errno.rbs
12.38
KB
-rw-r--r--
2022-04-12 11:11
errors.rbs
17.78
KB
-rw-r--r--
2022-04-12 11:11
exception.rbs
7.14
KB
-rw-r--r--
2022-04-12 11:11
false_class.rbs
1.79
KB
-rw-r--r--
2022-04-12 11:11
fiber.rbs
5.88
KB
-rw-r--r--
2022-04-12 11:11
fiber_error.rbs
374
B
-rw-r--r--
2022-04-12 11:11
file.rbs
62.22
KB
-rw-r--r--
2022-04-12 11:11
file_test.rbs
9.42
KB
-rw-r--r--
2022-04-12 11:11
float.rbs
30.82
KB
-rw-r--r--
2022-04-12 11:11
gc.rbs
12.16
KB
-rw-r--r--
2022-04-12 11:11
global_variables.rbs
5.72
KB
-rw-r--r--
2022-04-12 11:11
hash.rbs
59.31
KB
-rw-r--r--
2022-04-12 11:11
integer.rbs
39.28
KB
-rw-r--r--
2022-04-12 11:11
io.rbs
95.65
KB
-rw-r--r--
2022-04-12 11:11
kernel.rbs
96.28
KB
-rw-r--r--
2022-04-12 11:11
marshal.rbs
6.91
KB
-rw-r--r--
2022-04-12 11:11
match_data.rbs
11.55
KB
-rw-r--r--
2022-04-12 11:11
math.rbs
12.32
KB
-rw-r--r--
2022-04-12 11:11
method.rbs
8.41
KB
-rw-r--r--
2022-04-12 11:11
module.rbs
48.61
KB
-rw-r--r--
2022-04-12 11:11
nil_class.rbs
2.99
KB
-rw-r--r--
2022-04-12 11:11
numeric.rbs
24.58
KB
-rw-r--r--
2022-04-12 11:11
object.rbs
36.79
KB
-rw-r--r--
2022-04-12 11:11
object_space.rbs
6.11
KB
-rw-r--r--
2022-04-12 11:11
proc.rbs
21.71
KB
-rw-r--r--
2022-04-12 11:11
process.rbs
51.68
KB
-rw-r--r--
2022-04-12 11:11
ractor.rbs
29.67
KB
-rw-r--r--
2022-04-12 11:11
random.rbs
12.16
KB
-rw-r--r--
2022-04-12 11:11
range.rbs
26.65
KB
-rw-r--r--
2022-04-12 11:11
rational.rbs
15.05
KB
-rw-r--r--
2022-04-12 11:11
rb_config.rbs
1.97
KB
-rw-r--r--
2022-04-12 11:11
refinement.rbs
1.11
KB
-rw-r--r--
2022-04-12 11:11
regexp.rbs
44.66
KB
-rw-r--r--
2022-04-12 11:11
ruby_vm.rbs
2.01
KB
-rw-r--r--
2022-04-12 11:11
signal.rbs
3.49
KB
-rw-r--r--
2022-04-12 11:11
string.rbs
112.63
KB
-rw-r--r--
2022-04-12 11:11
string_io.rbs
13.51
KB
-rw-r--r--
2022-04-12 11:11
struct.rbs
9.49
KB
-rw-r--r--
2022-04-12 11:11
symbol.rbs
13.71
KB
-rw-r--r--
2022-04-12 11:11
thread.rbs
50.99
KB
-rw-r--r--
2022-04-12 11:11
thread_group.rbs
2.37
KB
-rw-r--r--
2022-04-12 11:11
time.rbs
54.79
KB
-rw-r--r--
2022-04-12 11:11
trace_point.rbs
9.84
KB
-rw-r--r--
2022-04-12 11:11
true_class.rbs
1.72
KB
-rw-r--r--
2022-04-12 11:11
unbound_method.rbs
6.71
KB
-rw-r--r--
2022-04-12 11:11
warning.rbs
1.49
KB
-rw-r--r--
2022-04-12 11:11
Save
Rename
# <!-- rdoc-file=object.c --> # BasicObject is the parent class of all classes in Ruby. It's an explicit # blank class. # # BasicObject can be used for creating object hierarchies independent of Ruby's # object hierarchy, proxy objects like the Delegator class, or other uses where # namespace pollution from Ruby's methods and classes must be avoided. # # To avoid polluting BasicObject for other users an appropriately named subclass # of BasicObject should be created instead of directly modifying BasicObject: # # class MyObjectSystem < BasicObject # end # # BasicObject does not include Kernel (for methods like `puts`) and BasicObject # is outside of the namespace of the standard library so common classes will not # be found without using a full class path. # # A variety of strategies can be used to provide useful portions of the standard # library to subclasses of BasicObject. A subclass could `include Kernel` to # obtain `puts`, `exit`, etc. A custom Kernel-like module could be created and # included or delegation can be used via #method_missing: # # class MyObjectSystem < BasicObject # DELEGATE = [:puts, :p] # # def method_missing(name, *args, &block) # return super unless DELEGATE.include? name # ::Kernel.send(name, *args, &block) # end # # def respond_to_missing?(name, include_private = false) # DELEGATE.include?(name) or super # end # end # # Access to classes and modules from the Ruby standard library can be obtained # in a BasicObject subclass by referencing the desired constant from the root # like `::File` or `::Enumerator`. Like #method_missing, #const_missing can be # used to delegate constant lookup to `Object`: # # class MyObjectSystem < BasicObject # def self.const_missing(name) # ::Object.const_get(name) # end # end # # ### What's Here # # These are the methods defined for BasicObject: # # ::new # : Returns a new BasicObject instance. # # [!](#method-i-21) # : Returns the boolean negation of `self`: `true` or `false`. # # [!=](#method-i-21-3D) # : Returns whether `self` and the given object are *not* equal. # # [==](#method-i-3D-3D) # : Returns whether `self` and the given object are equivalent. # # [__id__](#method-i-__id__) # : Returns the integer object identifier for `self`. # # [__send__](#method-i-__send__) # : Calls the method identified by the given symbol. # # #equal? # : Returns whether `self` and the given object are the same object. # # #instance_eval # : Evaluates the given string or block in the context of `self`. # # #instance_exec # : Executes the given block in the context of `self`, passing the given # arguments. # # #method_missing # : Method called when an undefined method is called on `self`. # # #singleton_method_added # : Method called when a singleton method is added to `self`. # # #singleton_method_removed # : Method called when a singleton method is added removed from `self`. # # #singleton_method_undefined # : Method called when a singleton method is undefined in `self`. # class BasicObject # <!-- # rdoc-file=object.c # - !obj -> true or false # --> # Boolean negate. # def !: () -> bool # <!-- # rdoc-file=object.c # - obj != other -> true or false # --> # Returns true if two objects are not-equal, otherwise false. # def !=: (untyped other) -> bool # <!-- # rdoc-file=object.c # - obj == other -> true or false # - obj.equal?(other) -> true or false # - obj.eql?(other) -> true or false # --> # Equality --- At the Object level, #== returns `true` only if `obj` and `other` # are the same object. Typically, this method is overridden in descendant # classes to provide class-specific meaning. # # Unlike #==, the #equal? method should never be overridden by subclasses as it # is used to determine object identity (that is, `a.equal?(b)` if and only if # `a` is the same object as `b`): # # obj = "a" # other = obj.dup # # obj == other #=> true # obj.equal? other #=> false # obj.equal? obj #=> true # # The #eql? method returns `true` if `obj` and `other` refer to the same hash # key. This is used by Hash to test members for equality. For any pair of # objects where #eql? returns `true`, the #hash value of both objects must be # equal. So any subclass that overrides #eql? should also override #hash # appropriately. # # For objects of class Object, #eql? is synonymous with #==. Subclasses # normally continue this tradition by aliasing #eql? to their overridden #== # method, but there are exceptions. Numeric types, for example, perform type # conversion across #==, but not across #eql?, so: # # 1 == 1.0 #=> true # 1.eql? 1.0 #=> false # def ==: (untyped other) -> bool # <!-- # rdoc-file=gc.c # - obj.__id__ -> integer # - obj.object_id -> integer # --> # Returns an integer identifier for `obj`. # # The same number will be returned on all calls to `object_id` for a given # object, and no two active objects will share an id. # # Note: that some objects of builtin classes are reused for optimization. This # is the case for immediate values and frozen string literals. # # BasicObject implements +__id__+, Kernel implements `object_id`. # # Immediate values are not passed by reference but are passed by value: `nil`, # `true`, `false`, Fixnums, Symbols, and some Floats. # # Object.new.object_id == Object.new.object_id # => false # (21 * 2).object_id == (21 * 2).object_id # => true # "hello".object_id == "hello".object_id # => false # "hi".freeze.object_id == "hi".freeze.object_id # => true # def __id__: () -> Integer # <!-- # rdoc-file=vm_eval.c # - foo.send(symbol [, args...]) -> obj # - foo.__send__(symbol [, args...]) -> obj # - foo.send(string [, args...]) -> obj # - foo.__send__(string [, args...]) -> obj # --> # Invokes the method identified by *symbol*, passing it any arguments specified. # When the method is identified by a string, the string is converted to a # symbol. # # BasicObject implements +__send__+, Kernel implements `send`. `__send__` is # safer than `send` when *obj* has the same method name like `Socket`. See also # `public_send`. # # class Klass # def hello(*args) # "Hello " + args.join(' ') # end # end # k = Klass.new # k.send :hello, "gentle", "readers" #=> "Hello gentle readers" # def __send__: (String | Symbol arg0, *untyped args) -> untyped # <!-- rdoc-file=object.c --> # Equality --- At the Object level, #== returns `true` only if `obj` and `other` # are the same object. Typically, this method is overridden in descendant # classes to provide class-specific meaning. # # Unlike #==, the #equal? method should never be overridden by subclasses as it # is used to determine object identity (that is, `a.equal?(b)` if and only if # `a` is the same object as `b`): # # obj = "a" # other = obj.dup # # obj == other #=> true # obj.equal? other #=> false # obj.equal? obj #=> true # # The #eql? method returns `true` if `obj` and `other` refer to the same hash # key. This is used by Hash to test members for equality. For any pair of # objects where #eql? returns `true`, the #hash value of both objects must be # equal. So any subclass that overrides #eql? should also override #hash # appropriately. # # For objects of class Object, #eql? is synonymous with #==. Subclasses # normally continue this tradition by aliasing #eql? to their overridden #== # method, but there are exceptions. Numeric types, for example, perform type # conversion across #==, but not across #eql?, so: # # 1 == 1.0 #=> true # 1.eql? 1.0 #=> false # def equal?: (untyped other) -> bool # <!-- # rdoc-file=vm_eval.c # - obj.instance_eval(string [, filename [, lineno]] ) -> obj # - obj.instance_eval {|obj| block } -> obj # --> # Evaluates a string containing Ruby source code, or the given block, within the # context of the receiver (*obj*). In order to set the context, the variable # `self` is set to *obj* while the code is executing, giving the code access to # *obj*'s instance variables and private methods. # # When `instance_eval` is given a block, *obj* is also passed in as the block's # only argument. # # When `instance_eval` is given a `String`, the optional second and third # parameters supply a filename and starting line number that are used when # reporting compilation errors. # # class KlassWithSecret # def initialize # @secret = 99 # end # private # def the_secret # "Ssssh! The secret is #{@secret}." # end # end # k = KlassWithSecret.new # k.instance_eval { @secret } #=> 99 # k.instance_eval { the_secret } #=> "Ssssh! The secret is 99." # k.instance_eval {|obj| obj == self } #=> true # def instance_eval: (String, ?String filename, ?Integer lineno) -> untyped | [U] () { (self) -> U } -> U # <!-- # rdoc-file=vm_eval.c # - obj.instance_exec(arg...) {|var...| block } -> obj # --> # Executes the given block within the context of the receiver (*obj*). In order # to set the context, the variable `self` is set to *obj* while the code is # executing, giving the code access to *obj*'s instance variables. Arguments # are passed as block parameters. # # class KlassWithSecret # def initialize # @secret = 99 # end # end # k = KlassWithSecret.new # k.instance_exec(5) {|x| @secret+x } #=> 104 # def instance_exec: [U, V] (*V args) { (*V args) -> U } -> U # <!-- # rdoc-file=object.c # - BasicObject.new # --> # Returns a new BasicObject. # def initialize: () -> void private # <!-- # rdoc-file=vm_eval.c # - obj.method_missing(symbol [, *args] ) -> result # --> # Invoked by Ruby when *obj* is sent a message it cannot handle. *symbol* is the # symbol for the method called, and *args* are any arguments that were passed to # it. By default, the interpreter raises an error when this method is called. # However, it is possible to override the method to provide more dynamic # behavior. If it is decided that a particular method should not be handled, # then *super* should be called, so that ancestors can pick up the missing # method. The example below creates a class `Roman`, which responds to methods # with names consisting of roman numerals, returning the corresponding integer # values. # # class Roman # def roman_to_int(str) # # ... # end # # def method_missing(symbol, *args) # str = symbol.id2name # begin # roman_to_int(str) # rescue # super(symbol, *args) # end # end # end # # r = Roman.new # r.iv #=> 4 # r.xxiii #=> 23 # r.mm #=> 2000 # r.foo #=> NoMethodError # def method_missing: (Symbol, *untyped, **untyped) ?{ (*untyped, **untyped) -> untyped } -> untyped # <!-- # rdoc-file=object.c # - singleton_method_added(symbol) # --> # Invoked as a callback whenever a singleton method is added to the receiver. # # module Chatty # def Chatty.singleton_method_added(id) # puts "Adding #{id.id2name}" # end # def self.one() end # def two() end # def Chatty.three() end # end # # *produces:* # # Adding singleton_method_added # Adding one # Adding three # def singleton_method_added: (Symbol) -> void # <!-- # rdoc-file=object.c # - singleton_method_removed(symbol) # --> # Invoked as a callback whenever a singleton method is removed from the # receiver. # # module Chatty # def Chatty.singleton_method_removed(id) # puts "Removing #{id.id2name}" # end # def self.one() end # def two() end # def Chatty.three() end # class << self # remove_method :three # remove_method :one # end # end # # *produces:* # # Removing three # Removing one # def singleton_method_removed: (Symbol) -> void # <!-- # rdoc-file=object.c # - singleton_method_undefined(symbol) # --> # Invoked as a callback whenever a singleton method is undefined in the # receiver. # # module Chatty # def Chatty.singleton_method_undefined(id) # puts "Undefining #{id.id2name}" # end # def Chatty.one() end # class << self # undef_method(:one) # end # end # # *produces:* # # Undefining one # def singleton_method_undefined: (Symbol) -> void end