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=proc.c --> # Method objects are created by Object#method, and are associated with a # particular object (not just with a class). They may be used to invoke the # method within the object, and as a block associated with an iterator. They # may also be unbound from one object (creating an UnboundMethod) and bound to # another. # # class Thing # def square(n) # n*n # end # end # thing = Thing.new # meth = thing.method(:square) # # meth.call(9) #=> 81 # [ 1, 2, 3 ].collect(&meth) #=> [1, 4, 9] # # [ 1, 2, 3 ].each(&method(:puts)) #=> prints 1, 2, 3 # # require 'date' # %w[2017-03-01 2017-03-02].collect(&Date.method(:parse)) # #=> [#<Date: 2017-03-01 ((2457814j,0s,0n),+0s,2299161j)>, #<Date: 2017-03-02 ((2457815j,0s,0n),+0s,2299161j)>] # class Method < Object # <!-- # rdoc-file=proc.c # - meth.to_proc -> proc # --> # Returns a Proc object corresponding to this method. # def to_proc: () -> Proc # <!-- # rdoc-file=proc.c # - meth.call(args, ...) -> obj # --> # Invokes the *meth* with the specified arguments, returning the method's return # value. # # m = 12.method("+") # m.call(3) #=> 15 # m.call(20) #=> 32 # def call: (*untyped args) -> untyped # <!-- # rdoc-file=proc.c # - meth << g -> a_proc # --> # Returns a proc that is the composition of this method and the given *g*. The # returned proc takes a variable number of arguments, calls *g* with them then # calls this method with the result. # # def f(x) # x * x # end # # f = self.method(:f) # g = proc {|x| x + x } # p (f << g).call(2) #=> 16 # def <<: (Proc g) -> Proc # <!-- rdoc-file=proc.c --> # Invokes the *meth* with the specified arguments, returning the method's return # value. # # m = 12.method("+") # m.call(3) #=> 15 # m.call(20) #=> 32 # alias === call # <!-- # rdoc-file=proc.c # - meth >> g -> a_proc # --> # Returns a proc that is the composition of this method and the given *g*. The # returned proc takes a variable number of arguments, calls this method with # them then calls *g* with the result. # # def f(x) # x * x # end # # f = self.method(:f) # g = proc {|x| x + x } # p (f >> g).call(2) #=> 8 # def >>: (Proc g) -> Proc # <!-- rdoc-file=proc.c --> # Invokes the *meth* with the specified arguments, returning the method's return # value. # # m = 12.method("+") # m.call(3) #=> 15 # m.call(20) #=> 32 # alias [] call # <!-- # rdoc-file=proc.c # - meth.arity -> integer # --> # Returns an indication of the number of arguments accepted by a method. Returns # a nonnegative integer for methods that take a fixed number of arguments. For # Ruby methods that take a variable number of arguments, returns -n-1, where n # is the number of required arguments. Keyword arguments will be considered as a # single additional argument, that argument being mandatory if any keyword # argument is mandatory. For methods written in C, returns -1 if the call takes # a variable number of arguments. # # class C # def one; end # def two(a); end # def three(*a); end # def four(a, b); end # def five(a, b, *c); end # def six(a, b, *c, &d); end # def seven(a, b, x:0); end # def eight(x:, y:); end # def nine(x:, y:, **z); end # def ten(*a, x:, y:); end # end # c = C.new # c.method(:one).arity #=> 0 # c.method(:two).arity #=> 1 # c.method(:three).arity #=> -1 # c.method(:four).arity #=> 2 # c.method(:five).arity #=> -3 # c.method(:six).arity #=> -3 # c.method(:seven).arity #=> -3 # c.method(:eight).arity #=> 1 # c.method(:nine).arity #=> 1 # c.method(:ten).arity #=> -2 # # "cat".method(:size).arity #=> 0 # "cat".method(:replace).arity #=> 1 # "cat".method(:squeeze).arity #=> -1 # "cat".method(:count).arity #=> -1 # def arity: () -> Integer # <!-- # rdoc-file=proc.c # - method.clone -> new_method # --> # Returns a clone of this method. # # class A # def foo # return "bar" # end # end # # m = A.new.method(:foo) # m.call # => "bar" # n = m.clone.call # => "bar" # def clone: () -> Method # <!-- # rdoc-file=proc.c # - meth.curry -> proc # - meth.curry(arity) -> proc # --> # Returns a curried proc based on the method. When the proc is called with a # number of arguments that is lower than the method's arity, then another # curried proc is returned. Only when enough arguments have been supplied to # satisfy the method signature, will the method actually be called. # # The optional *arity* argument should be supplied when currying methods with # variable arguments to determine how many arguments are needed before the # method is called. # # def foo(a,b,c) # [a, b, c] # end # # proc = self.method(:foo).curry # proc2 = proc.call(1, 2) #=> #<Proc> # proc2.call(3) #=> [1,2,3] # # def vararg(*args) # args # end # # proc = self.method(:vararg).curry(4) # proc2 = proc.call(:x) #=> #<Proc> # proc3 = proc2.call(:y, :z) #=> #<Proc> # proc3.call(:a) #=> [:x, :y, :z, :a] # def curry: (?Integer arity) -> Proc # <!-- # rdoc-file=proc.c # - meth.name -> symbol # --> # Returns the name of the method. # def name: () -> Symbol # <!-- # rdoc-file=proc.c # - meth.original_name -> symbol # --> # Returns the original name of the method. # # class C # def foo; end # alias bar foo # end # C.instance_method(:bar).original_name # => :foo # def original_name: () -> Symbol # <!-- # rdoc-file=proc.c # - meth.owner -> class_or_module # --> # Returns the class or module on which this method is defined. In other words, # # meth.owner.instance_methods(false).include?(meth.name) # => true # # holds as long as the method is not removed/undefined/replaced, (with # private_instance_methods instead of instance_methods if the method is # private). # # See also Method#receiver. # # (1..3).method(:map).owner #=> Enumerable # def owner: () -> (Class | Module) # <!-- # rdoc-file=proc.c # - meth.parameters -> array # --> # Returns the parameter information of this method. # # def foo(bar); end # method(:foo).parameters #=> [[:req, :bar]] # # def foo(bar, baz, bat, &blk); end # method(:foo).parameters #=> [[:req, :bar], [:req, :baz], [:req, :bat], [:block, :blk]] # # def foo(bar, *args); end # method(:foo).parameters #=> [[:req, :bar], [:rest, :args]] # # def foo(bar, baz, *args, &blk); end # method(:foo).parameters #=> [[:req, :bar], [:req, :baz], [:rest, :args], [:block, :blk]] # def parameters: () -> ::Array[[ :req | :opt | :rest | :keyreq | :key | :keyrest | :block, Symbol ] | [ :rest | :keyrest ]] # <!-- # rdoc-file=proc.c # - meth.private? -> true or false # --> # Returns whether the method is private. # def private?: () -> bool # <!-- # rdoc-file=proc.c # - meth.protected? -> true or false # --> # Returns whether the method is protected. # def protected?: () -> bool # <!-- # rdoc-file=proc.c # - meth.public? -> true or false # --> # Returns whether the method is public. # def public?: () -> bool # <!-- # rdoc-file=proc.c # - meth.receiver -> object # --> # Returns the bound receiver of the method object. # # (1..3).method(:map).receiver # => 1..3 # def receiver: () -> untyped # <!-- # rdoc-file=proc.c # - meth.source_location -> [String, Integer] # --> # Returns the Ruby source filename and line number containing this method or nil # if this method was not defined in Ruby (i.e. native). # def source_location: () -> [ String, Integer ]? # <!-- # rdoc-file=proc.c # - meth.super_method -> method # --> # Returns a Method of superclass which would be called when super is used or nil # if there is no method on superclass. # def super_method: () -> Method? # <!-- # rdoc-file=proc.c # - meth.unbind -> unbound_method # --> # Dissociates *meth* from its current receiver. The resulting UnboundMethod can # subsequently be bound to a new object of the same class (see UnboundMethod). # def unbind: () -> UnboundMethod end