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.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Comparable /
Delete
Unzip
Name
Size
Permission
Date
Action
%3c%3d-i.ri
440
B
-rw-r--r--
2026-04-07 17:42
%3c-i.ri
425
B
-rw-r--r--
2026-04-07 17:42
%3d%3d-i.ri
477
B
-rw-r--r--
2026-04-07 17:42
%3e%3d-i.ri
443
B
-rw-r--r--
2026-04-07 17:42
%3e-i.ri
428
B
-rw-r--r--
2026-04-07 17:42
between%3f-i.ri
760
B
-rw-r--r--
2026-04-07 17:42
cdesc-Comparable.ri
2.95
KB
-rw-r--r--
2026-04-07 17:42
clamp-i.ri
1.63
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::NormalModule[iI"Comparable:ET@0o:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"BThe Comparable mixin is used by classes whose objects may be ;TI"Cordered. The class must define the <code><=></code> operator, ;TI"Ewhich compares the receiver against another object, returning a ;TI"Jvalue less than 0, returning 0, or returning a value greater than 0, ;TI"?depending on whether the receiver is less than, equal to, ;TI"Bor greater than the other object. If the other object is not ;TI"Hcomparable then the <code><=></code> operator should return +nil+. ;TI"DComparable uses <code><=></code> to implement the conventional ;TI"<comparison operators (<code><</code>, <code><=</code>, ;TI"C<code>==</code>, <code>>=</code>, and <code>></code>) and the ;TI""method <code>between?</code>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"class SizeMatters ;TI" include Comparable ;TI" attr :str ;TI" def <=>(other) ;TI"% str.size <=> other.str.size ;TI" end ;TI" def initialize(str) ;TI" @str = str ;TI" end ;TI" def inspect ;TI" @str ;TI" end ;TI" end ;TI" ;TI"s1 = SizeMatters.new("Z") ;TI" s2 = SizeMatters.new("YY") ;TI"!s3 = SizeMatters.new("XXX") ;TI""s4 = SizeMatters.new("WWWW") ;TI"#s5 = SizeMatters.new("VVVVV") ;TI" ;TI",s1 < s2 #=> true ;TI"-s4.between?(s1, s3) #=> false ;TI",s4.between?(s3, s5) #=> true ;TI"A[ s3, s2, s5, s4, s1 ].sort #=> [Z, YY, XXX, WWWW, VVVVV] ;T:@format0S:RDoc::Markup::Heading: leveli: textI"What's Here;T@o; ;[I"V\Module \Comparable provides these methods, all of which use method <tt><=></tt>:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I">#<: Returns whether +self+ is less than the given object.;To;;0;[o; ;[I"K#<=: Returns whether +self+ is less than or equal to the given object.;To;;0;[o; ;[I">#==: Returns whether +self+ is equal to the given object.;To;;0;[o; ;[I"M#>: Returns whether +self+ is greater than or equal to the given object.;To;;0;[o; ;[I"B#>=: Returns whether +self+ is greater than the given object.;To;;0;[o; ;[I"F#between?: Returns +true+ if +self+ is between two given objects.;To;;0;[o; ;[I"V#clamp: For given objects +min+ and +max+, or range <tt>(min..max)</tt>, returns:;T@o;;;;[o;;0;[o; ;[I"*+min+ if <tt>(self <=> min) < 0</tt>.;To;;0;[o; ;[I"*+max+ if <tt>(self <=> max) > 0</tt>.;To;;0;[o; ;[I"+self+ otherwise.;T: @fileI" compar.c;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[I"<;TI" compar.c;T[I"<=;T@�[I"==;T@�[I">;T@�[I">=;T@�[I" between?;T@�[I" clamp;T@�[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I" compar.c;T@ocRDoc::TopLevel