Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
gems /
gems /
rbs-2.8.2 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
io
[ DIR ]
drwxr-xr-x
2026-05-05 23:07
rbs
[ DIR ]
drwxr-xr-x
2026-04-07 17:42
rubygems
[ DIR ]
drwxr-xr-x
2026-05-05 23:07
array.rbs
126.13
KB
-rw-r--r--
2026-04-07 17:42
basic_object.rbs
13.05
KB
-rw-r--r--
2026-04-07 17:42
binding.rbs
6.03
KB
-rw-r--r--
2026-04-07 17:42
builtin.rbs
1.42
KB
-rw-r--r--
2026-04-07 17:42
class.rbs
5.34
KB
-rw-r--r--
2026-04-07 17:42
comparable.rbs
5.55
KB
-rw-r--r--
2026-04-07 17:42
complex.rbs
14.38
KB
-rw-r--r--
2026-04-07 17:42
constants.rbs
1.72
KB
-rw-r--r--
2026-04-07 17:42
deprecated.rbs
186
B
-rw-r--r--
2026-04-07 17:42
dir.rbs
21.28
KB
-rw-r--r--
2026-04-07 17:42
encoding.rbs
53.14
KB
-rw-r--r--
2026-04-07 17:42
enumerable.rbs
79.8
KB
-rw-r--r--
2026-04-07 17:42
enumerator.rbs
15.45
KB
-rw-r--r--
2026-04-07 17:42
env.rbs
157
B
-rw-r--r--
2026-04-07 17:42
errno.rbs
12.38
KB
-rw-r--r--
2026-04-07 17:42
errors.rbs
18.59
KB
-rw-r--r--
2026-04-07 17:42
exception.rbs
7.14
KB
-rw-r--r--
2026-04-07 17:42
false_class.rbs
1.79
KB
-rw-r--r--
2026-04-07 17:42
fiber.rbs
15.89
KB
-rw-r--r--
2026-04-07 17:42
fiber_error.rbs
374
B
-rw-r--r--
2026-04-07 17:42
file.rbs
62.16
KB
-rw-r--r--
2026-04-07 17:42
file_test.rbs
9.42
KB
-rw-r--r--
2026-04-07 17:42
float.rbs
30.84
KB
-rw-r--r--
2026-04-07 17:42
gc.rbs
12.16
KB
-rw-r--r--
2026-04-07 17:42
global_variables.rbs
5.74
KB
-rw-r--r--
2026-04-07 17:42
hash.rbs
59.33
KB
-rw-r--r--
2026-04-07 17:42
integer.rbs
39.28
KB
-rw-r--r--
2026-04-07 17:42
io.rbs
100.9
KB
-rw-r--r--
2026-04-07 17:42
kernel.rbs
96.46
KB
-rw-r--r--
2026-04-07 17:42
marshal.rbs
6.91
KB
-rw-r--r--
2026-04-07 17:42
match_data.rbs
11.55
KB
-rw-r--r--
2026-04-07 17:42
math.rbs
12.32
KB
-rw-r--r--
2026-04-07 17:42
method.rbs
8.68
KB
-rw-r--r--
2026-04-07 17:42
module.rbs
49.12
KB
-rw-r--r--
2026-04-07 17:42
nil_class.rbs
3.02
KB
-rw-r--r--
2026-04-07 17:42
numeric.rbs
24.58
KB
-rw-r--r--
2026-04-07 17:42
object.rbs
37.09
KB
-rw-r--r--
2026-04-07 17:42
object_space.rbs
6.11
KB
-rw-r--r--
2026-04-07 17:42
proc.rbs
21.71
KB
-rw-r--r--
2026-04-07 17:42
process.rbs
51.68
KB
-rw-r--r--
2026-04-07 17:42
ractor.rbs
29.67
KB
-rw-r--r--
2026-04-07 17:42
random.rbs
7.03
KB
-rw-r--r--
2026-04-07 17:42
range.rbs
26.65
KB
-rw-r--r--
2026-04-07 17:42
rational.rbs
15.06
KB
-rw-r--r--
2026-04-07 17:42
rb_config.rbs
1.97
KB
-rw-r--r--
2026-04-07 17:42
refinement.rbs
1.11
KB
-rw-r--r--
2026-04-07 17:42
regexp.rbs
44.58
KB
-rw-r--r--
2026-04-07 17:42
ruby_vm.rbs
2.01
KB
-rw-r--r--
2026-04-07 17:42
signal.rbs
3.49
KB
-rw-r--r--
2026-04-07 17:42
string.rbs
112.63
KB
-rw-r--r--
2026-04-07 17:42
string_io.rbs
13.5
KB
-rw-r--r--
2026-04-07 17:42
struct.rbs
9.49
KB
-rw-r--r--
2026-04-07 17:42
symbol.rbs
13.71
KB
-rw-r--r--
2026-04-07 17:42
thread.rbs
50.99
KB
-rw-r--r--
2026-04-07 17:42
thread_group.rbs
2.37
KB
-rw-r--r--
2026-04-07 17:42
time.rbs
54.8
KB
-rw-r--r--
2026-04-07 17:42
trace_point.rbs
11.06
KB
-rw-r--r--
2026-04-07 17:42
true_class.rbs
1.72
KB
-rw-r--r--
2026-04-07 17:42
unbound_method.rbs
6.98
KB
-rw-r--r--
2026-04-07 17:42
warning.rbs
1.54
KB
-rw-r--r--
2026-04-07 17:42
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) [self: 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) [self: self] -> 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