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.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby34 /
share /
gems /
gems /
rbs-3.8.0 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
enumerator
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
io
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
object_space
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
rbs
[ DIR ]
drwxr-xr-x
2026-04-07 16:50
rubygems
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
array.rbs
137.79
KB
-rw-r--r--
2026-04-07 16:50
basic_object.rbs
12.57
KB
-rw-r--r--
2026-04-07 16:50
binding.rbs
4.11
KB
-rw-r--r--
2026-04-07 16:50
builtin.rbs
7.29
KB
-rw-r--r--
2026-04-07 16:50
class.rbs
6.72
KB
-rw-r--r--
2026-04-07 16:51
comparable.rbs
5.63
KB
-rw-r--r--
2026-04-07 16:50
complex.rbs
25.1
KB
-rw-r--r--
2026-04-07 16:50
constants.rbs
1.89
KB
-rw-r--r--
2026-04-07 16:50
data.rbs
12.7
KB
-rw-r--r--
2026-04-07 16:50
dir.rbs
31.49
KB
-rw-r--r--
2026-04-07 16:50
encoding.rbs
46.41
KB
-rw-r--r--
2026-04-07 16:50
enumerable.rbs
85.7
KB
-rw-r--r--
2026-04-07 16:50
enumerator.rbs
19.37
KB
-rw-r--r--
2026-04-07 16:50
env.rbs
159
B
-rw-r--r--
2026-04-07 16:51
errno.rbs
10.71
KB
-rw-r--r--
2026-04-07 16:50
errors.rbs
18.81
KB
-rw-r--r--
2026-04-07 16:51
exception.rbs
11.58
KB
-rw-r--r--
2026-04-07 16:50
false_class.rbs
2.1
KB
-rw-r--r--
2026-04-07 16:50
fiber.rbs
19.11
KB
-rw-r--r--
2026-04-07 16:50
fiber_error.rbs
374
B
-rw-r--r--
2026-04-07 16:50
file.rbs
92.57
KB
-rw-r--r--
2026-04-07 16:50
file_test.rbs
10.2
KB
-rw-r--r--
2026-04-07 16:50
float.rbs
32.78
KB
-rw-r--r--
2026-04-07 16:50
gc.rbs
20.88
KB
-rw-r--r--
2026-04-07 16:50
global_variables.rbs
5.64
KB
-rw-r--r--
2026-04-07 16:50
hash.rbs
58.89
KB
-rw-r--r--
2026-04-07 16:50
integer.rbs
40.51
KB
-rw-r--r--
2026-04-07 16:51
io.rbs
112.18
KB
-rw-r--r--
2026-04-07 16:50
kernel.rbs
104.83
KB
-rw-r--r--
2026-04-07 16:50
marshal.rbs
7.07
KB
-rw-r--r--
2026-04-07 16:50
match_data.rbs
19.65
KB
-rw-r--r--
2026-04-07 16:50
math.rbs
20.28
KB
-rw-r--r--
2026-04-07 16:50
method.rbs
11.59
KB
-rw-r--r--
2026-04-07 16:50
module.rbs
54.2
KB
-rw-r--r--
2026-04-07 16:50
nil_class.rbs
3.97
KB
-rw-r--r--
2026-04-07 16:51
numeric.rbs
23.7
KB
-rw-r--r--
2026-04-07 16:50
object.rbs
5.03
KB
-rw-r--r--
2026-04-07 16:50
object_space.rbs
6.14
KB
-rw-r--r--
2026-04-07 16:51
proc.rbs
29.73
KB
-rw-r--r--
2026-04-07 16:50
process.rbs
77.15
KB
-rw-r--r--
2026-04-07 16:50
ractor.rbs
32.03
KB
-rw-r--r--
2026-04-07 16:50
random.rbs
7.85
KB
-rw-r--r--
2026-04-07 16:51
range.rbs
34.28
KB
-rw-r--r--
2026-04-07 16:50
rational.rbs
14.96
KB
-rw-r--r--
2026-04-07 16:50
rb_config.rbs
2.9
KB
-rw-r--r--
2026-04-07 16:50
refinement.rbs
1.42
KB
-rw-r--r--
2026-04-07 16:51
regexp.rbs
66.72
KB
-rw-r--r--
2026-04-07 16:50
ruby_vm.rbs
23.15
KB
-rw-r--r--
2026-04-07 16:51
set.rbs
19.36
KB
-rw-r--r--
2026-04-07 16:50
signal.rbs
3.59
KB
-rw-r--r--
2026-04-07 16:50
string.rbs
119.45
KB
-rw-r--r--
2026-04-07 16:51
struct.rbs
22.73
KB
-rw-r--r--
2026-04-07 16:51
symbol.rbs
12.96
KB
-rw-r--r--
2026-04-07 16:51
thread.rbs
51.52
KB
-rw-r--r--
2026-04-07 16:51
thread_group.rbs
2.35
KB
-rw-r--r--
2026-04-07 16:50
time.rbs
59.56
KB
-rw-r--r--
2026-04-07 16:50
trace_point.rbs
12.85
KB
-rw-r--r--
2026-04-07 16:50
true_class.rbs
2.23
KB
-rw-r--r--
2026-04-07 16:50
unbound_method.rbs
9.97
KB
-rw-r--r--
2026-04-07 16:50
warning.rbs
2.56
KB
-rw-r--r--
2026-04-07 16:50
Save
Rename
# <!-- rdoc-file=string.c --> # A `Symbol` object represents a named identifier inside the Ruby interpreter. # # You can create a `Symbol` object explicitly with: # # * A [symbol literal](rdoc-ref:syntax/literals.rdoc@Symbol+Literals). # # The same `Symbol` object will be created for a given name or string for the # duration of a program's execution, regardless of the context or meaning of # that name. Thus if `Fred` is a constant in one context, a method in another, # and a class in a third, the `Symbol` `:Fred` will be the same object in all # three contexts. # # module One # class Fred # end # $f1 = :Fred # end # module Two # Fred = 1 # $f2 = :Fred # end # def Fred() # end # $f3 = :Fred # $f1.object_id #=> 2514190 # $f2.object_id #=> 2514190 # $f3.object_id #=> 2514190 # # Constant, method, and variable names are returned as symbols: # # module One # Two = 2 # def three; 3 end # @four = 4 # @@five = 5 # $six = 6 # end # seven = 7 # # One.constants # # => [:Two] # One.instance_methods(true) # # => [:three] # One.instance_variables # # => [:@four] # One.class_variables # # => [:@@five] # global_variables.grep(/six/) # # => [:$six] # local_variables # # => [:seven] # # A `Symbol` object differs from a String object in that a `Symbol` object # represents an identifier, while a String object represents text or data. # # ## What's Here # # First, what's elsewhere. Class `Symbol`: # # * Inherits from [class Object](rdoc-ref:Object@What-27s+Here). # * Includes [module Comparable](rdoc-ref:Comparable@What-27s+Here). # # Here, class `Symbol` provides methods that are useful for: # # * [Querying](rdoc-ref:Symbol@Methods+for+Querying) # * [Comparing](rdoc-ref:Symbol@Methods+for+Comparing) # * [Converting](rdoc-ref:Symbol@Methods+for+Converting) # # ### Methods for Querying # # * ::all_symbols: Returns an array of the symbols currently in Ruby's symbol # table. # * #=~: Returns the index of the first substring in symbol that matches a # given Regexp or other object; returns `nil` if no match is found. # * #[], #slice : Returns a substring of symbol determined by a given index, # start/length, or range, or string. # * #empty?: Returns `true` if `self.length` is zero; `false` otherwise. # * #encoding: Returns the Encoding object that represents the encoding of # symbol. # * #end_with?: Returns `true` if symbol ends with any of the given strings. # * #match: Returns a MatchData object if symbol matches a given Regexp; `nil` # otherwise. # * #match?: Returns `true` if symbol matches a given Regexp; `false` # otherwise. # * #length, #size: Returns the number of characters in symbol. # * #start_with?: Returns `true` if symbol starts with any of the given # strings. # # ### Methods for Comparing # # * #<=>: Returns -1, 0, or 1 as a given symbol is smaller than, equal to, or # larger than symbol. # * #==, #===: Returns `true` if a given symbol has the same content and # encoding. # * #casecmp: Ignoring case, returns -1, 0, or 1 as a given symbol is smaller # than, equal to, or larger than symbol. # * #casecmp?: Returns `true` if symbol is equal to a given symbol after # Unicode case folding; `false` otherwise. # # ### Methods for Converting # # * #capitalize: Returns symbol with the first character upcased and all other # characters downcased. # * #downcase: Returns symbol with all characters downcased. # * #inspect: Returns the string representation of `self` as a symbol literal. # * #name: Returns the frozen string corresponding to symbol. # * #succ, #next: Returns the symbol that is the successor to symbol. # * #swapcase: Returns symbol with all upcase characters downcased and all # downcase characters upcased. # * #to_proc: Returns a Proc object which responds to the method named by # symbol. # * #to_s, #id2name: Returns the string corresponding to `self`. # * #to_sym, #intern: Returns `self`. # * #upcase: Returns symbol with all characters upcased. # class Symbol include Comparable # <!-- # rdoc-file=string.c # - Symbol.all_symbols -> array_of_symbols # --> # Returns an array of all symbols currently in Ruby's symbol table: # # Symbol.all_symbols.size # => 9334 # Symbol.all_symbols.take(3) # => [:!, :"\"", :"#"] # def self.all_symbols: () -> Array[Symbol] # <!-- # rdoc-file=string.c # - symbol <=> object -> -1, 0, +1, or nil # --> # If `object` is a symbol, returns the equivalent of `symbol.to_s <=> # object.to_s`: # # :bar <=> :foo # => -1 # :foo <=> :foo # => 0 # :foo <=> :bar # => 1 # # Otherwise, returns `nil`: # # :foo <=> 'bar' # => nil # # Related: String#<=>. # def <=>: (Symbol object) -> (-1 | 0 | 1) | (untyped) -> (-1 | 0 | 1)? # <!-- # rdoc-file=string.c # - symbol == object -> true or false # --> # Returns `true` if `object` is the same object as `self`, `false` otherwise. # def ==: (untyped object) -> bool # <!-- rdoc-file=string.c --> # Returns `true` if `object` is the same object as `self`, `false` otherwise. # alias === == # <!-- # rdoc-file=string.c # - symbol =~ object -> integer or nil # --> # Equivalent to `symbol.to_s =~ object`, including possible updates to global # variables; see String#=~. # def =~: (Regexp regex) -> Integer? | [T] (String::_MatchAgainst[String, T] object) -> T # <!-- # rdoc-file=string.c # - symbol[index] -> string or nil # - symbol[start, length] -> string or nil # - symbol[range] -> string or nil # - symbol[regexp, capture = 0] -> string or nil # - symbol[substring] -> string or nil # --> # Equivalent to `symbol.to_s[]`; see String#[]. # def []: (int start, ?int length) -> String? | (range[int?] range) -> String? | (Regexp regexp, ?MatchData::capture backref) -> String? | (String substring) -> String? # <!-- # rdoc-file=string.c # - capitalize(*options) -> symbol # --> # Equivalent to `sym.to_s.capitalize.to_sym`. # # See String#capitalize. # def capitalize: () -> Symbol | (:ascii | :lithuanian | :turkic) -> Symbol | (:lithuanian, :turkic) -> Symbol | (:turkic, :lithuanian) -> Symbol # <!-- # rdoc-file=string.c # - casecmp(object) -> -1, 0, 1, or nil # --> # Like Symbol#<=>, but case-insensitive; equivalent to # `self.to_s.casecmp(object.to_s)`: # # lower = :abc # upper = :ABC # upper.casecmp(lower) # => 0 # lower.casecmp(lower) # => 0 # lower.casecmp(upper) # => 0 # # Returns nil if `self` and `object` have incompatible encodings, or if `object` # is not a symbol: # # sym = 'äöü'.encode("ISO-8859-1").to_sym # other_sym = 'ÄÖÜ' # sym.casecmp(other_sym) # => nil # :foo.casecmp(2) # => nil # # Unlike Symbol#casecmp?, case-insensitivity does not work for characters # outside of 'A'..'Z' and 'a'..'z': # # lower = :äöü # upper = :ÄÖÜ # upper.casecmp(lower) # => -1 # lower.casecmp(lower) # => 0 # lower.casecmp(upper) # => 1 # # Related: Symbol#casecmp?, String#casecmp. # def casecmp: (untyped object) -> (-1 | 0 | 1)? # <!-- # rdoc-file=string.c # - casecmp?(object) -> true, false, or nil # --> # Returns `true` if `self` and `object` are equal after Unicode case folding, # otherwise `false`: # # lower = :abc # upper = :ABC # upper.casecmp?(lower) # => true # lower.casecmp?(lower) # => true # lower.casecmp?(upper) # => true # # Returns nil if `self` and `object` have incompatible encodings, or if `object` # is not a symbol: # # sym = 'äöü'.encode("ISO-8859-1").to_sym # other_sym = 'ÄÖÜ' # sym.casecmp?(other_sym) # => nil # :foo.casecmp?(2) # => nil # # Unlike Symbol#casecmp, works for characters outside of 'A'..'Z' and 'a'..'z': # # lower = :äöü # upper = :ÄÖÜ # upper.casecmp?(lower) # => true # lower.casecmp?(lower) # => true # lower.casecmp?(upper) # => true # # Related: Symbol#casecmp, String#casecmp?. # def casecmp?: (untyped object) -> bool? # <!-- # rdoc-file=string.c # - downcase(*options) -> symbol # --> # Equivalent to `sym.to_s.downcase.to_sym`. # # See String#downcase. # # Related: Symbol#upcase. # def downcase: () -> Symbol | (:ascii | :fold | :lithuanian | :turkic) -> Symbol | (:lithuanian, :turkic) -> Symbol | (:turkic, :lithuanian) -> Symbol # <!-- # rdoc-file=string.c # - empty? -> true or false # --> # Returns `true` if `self` is `:''`, `false` otherwise. # def empty?: () -> bool # <!-- # rdoc-file=string.c # - encoding -> encoding # --> # Equivalent to `self.to_s.encoding`; see String#encoding. # def encoding: () -> Encoding # <!-- # rdoc-file=string.c # - end_with?(*strings) -> true or false # --> # Equivalent to `self.to_s.end_with?`; see String#end_with?. # def end_with?: (*string suffixes) -> bool # <!-- # rdoc-file=symbol.rb # - id2name() # --> # alias id2name to_s # <!-- # rdoc-file=string.c # - inspect -> string # --> # Returns a string representation of `self` (including the leading colon): # # :foo.inspect # => ":foo" # # Related: Symbol#to_s, Symbol#name. # def inspect: () -> String # <!-- # rdoc-file=symbol.rb # - intern() # --> # alias intern to_sym # <!-- # rdoc-file=string.c # - length -> integer # --> # Equivalent to `self.to_s.length`; see String#length. # def length: () -> Integer # <!-- # rdoc-file=string.c # - match(pattern, offset = 0) -> matchdata or nil # - match(pattern, offset = 0) {|matchdata| } -> object # --> # Equivalent to `self.to_s.match`, including possible updates to global # variables; see String#match. # def match: (Regexp | string pattern, ?int offset) -> MatchData? | [T] (Regexp | string pattern, ?int offset) { (MatchData matchdata) -> T } -> T? # <!-- # rdoc-file=string.c # - match?(pattern, offset) -> true or false # --> # Equivalent to `sym.to_s.match?`; see String#match. # def match?: (Regexp | string pattern, ?int offset) -> bool # <!-- rdoc-file=string.c --> # Equivalent to `self.to_s.succ.to_sym`: # # :foo.succ # => :fop # # Related: String#succ. # def next: () -> Symbol # <!-- # rdoc-file=symbol.rb # - name -> string # --> # Returns a frozen string representation of `self` (not including the leading # colon): # # :foo.name # => "foo" # :foo.name.frozen? # => true # # Related: Symbol#to_s, Symbol#inspect. # def name: () -> String # <!-- rdoc-file=string.c --> # Equivalent to `self.to_s.length`; see String#length. # alias size length # <!-- rdoc-file=string.c --> # Equivalent to `symbol.to_s[]`; see String#[]. # alias slice [] # <!-- # rdoc-file=string.c # - start_with?(*string_or_regexp) -> true or false # --> # Equivalent to `self.to_s.start_with?`; see String#start_with?. # def start_with?: (*Regexp | string prefixes) -> bool # <!-- # rdoc-file=string.c # - succ # --> # Equivalent to `self.to_s.succ.to_sym`: # # :foo.succ # => :fop # # Related: String#succ. # alias succ next # <!-- # rdoc-file=string.c # - swapcase(*options) -> symbol # --> # Equivalent to `sym.to_s.swapcase.to_sym`. # # See String#swapcase. # def swapcase: () -> Symbol | (:ascii | :lithuanian | :turkic) -> Symbol | (:lithuanian, :turkic) -> Symbol | (:turkic, :lithuanian) -> Symbol # <!-- # rdoc-file=string.c # - to_proc # --> # Returns a Proc object which calls the method with name of `self` on the first # parameter and passes the remaining parameters to the method. # # proc = :to_s.to_proc # => #<Proc:0x000001afe0e48680(&:to_s) (lambda)> # proc.call(1000) # => "1000" # proc.call(1000, 16) # => "3e8" # (1..3).collect(&:to_s) # => ["1", "2", "3"] # def to_proc: () -> Proc # <!-- # rdoc-file=symbol.rb # - to_s -> string # --> # Returns a string representation of `self` (not including the leading colon): # # :foo.to_s # => "foo" # # Related: Symbol#inspect, Symbol#name. # def to_s: () -> String # <!-- # rdoc-file=symbol.rb # - to_sym -> self # --> # Returns `self`. # # Related: String#to_sym. # def to_sym: () -> self # <!-- # rdoc-file=string.c # - upcase(*options) -> symbol # --> # Equivalent to `sym.to_s.upcase.to_sym`. # # See String#upcase. # def upcase: () -> Symbol | (:ascii | :lithuanian | :turkic) -> Symbol | (:lithuanian, :turkic) -> Symbol | (:turkic, :lithuanian) -> Symbol end