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 /
ruby26 /
share /
ri /
2.6.0 /
system /
Numeric /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
478
B
-rw-r--r--
2023-07-26 18:33
%2b%40-i.ri
308
B
-rw-r--r--
2023-07-26 18:33
%2d%40-i.ri
322
B
-rw-r--r--
2023-07-26 18:33
%3c%3d%3e-i.ri
360
B
-rw-r--r--
2023-07-26 18:33
abs-i.ri
545
B
-rw-r--r--
2023-07-26 18:33
abs2-i.ri
306
B
-rw-r--r--
2023-07-26 18:33
angle-i.ri
340
B
-rw-r--r--
2023-07-26 18:33
arg-i.ri
336
B
-rw-r--r--
2023-07-26 18:33
cdesc-Numeric.ri
3.62
KB
-rw-r--r--
2023-07-26 18:33
ceil-i.ri
567
B
-rw-r--r--
2023-07-26 18:33
clone-i.ri
354
B
-rw-r--r--
2023-07-26 18:33
coerce-i.ri
865
B
-rw-r--r--
2023-07-26 18:33
conj-i.ri
324
B
-rw-r--r--
2023-07-26 18:33
conjugate-i.ri
310
B
-rw-r--r--
2023-07-26 18:33
denominator-i.ri
350
B
-rw-r--r--
2023-07-26 18:33
div-i.ri
568
B
-rw-r--r--
2023-07-26 18:33
divmod-i.ri
2.09
KB
-rw-r--r--
2023-07-26 18:33
dup-i.ri
300
B
-rw-r--r--
2023-07-26 18:33
eql%3f-i.ri
616
B
-rw-r--r--
2023-07-26 18:33
fdiv-i.ri
318
B
-rw-r--r--
2023-07-26 18:33
finite%3f-i.ri
371
B
-rw-r--r--
2023-07-26 18:33
floor-i.ri
567
B
-rw-r--r--
2023-07-26 18:33
i-i.ri
489
B
-rw-r--r--
2023-07-26 18:33
imag-i.ri
318
B
-rw-r--r--
2023-07-26 18:33
imaginary-i.ri
307
B
-rw-r--r--
2023-07-26 18:33
infinite%3f-i.ri
430
B
-rw-r--r--
2023-07-26 18:33
integer%3f-i.ri
471
B
-rw-r--r--
2023-07-26 18:33
magnitude-i.ri
557
B
-rw-r--r--
2023-07-26 18:33
modulo-i.ri
487
B
-rw-r--r--
2023-07-26 18:33
negative%3f-i.ri
346
B
-rw-r--r--
2023-07-26 18:33
nonzero%3f-i.ri
680
B
-rw-r--r--
2023-07-26 18:33
numerator-i.ri
324
B
-rw-r--r--
2023-07-26 18:33
phase-i.ri
340
B
-rw-r--r--
2023-07-26 18:33
polar-i.ri
324
B
-rw-r--r--
2023-07-26 18:33
positive%3f-i.ri
349
B
-rw-r--r--
2023-07-26 18:33
quo-i.ri
399
B
-rw-r--r--
2023-07-26 18:33
real%3f-i.ri
355
B
-rw-r--r--
2023-07-26 18:33
real-i.ri
296
B
-rw-r--r--
2023-07-26 18:33
rect-i.ri
337
B
-rw-r--r--
2023-07-26 18:33
rectangular-i.ri
331
B
-rw-r--r--
2023-07-26 18:33
remainder-i.ri
436
B
-rw-r--r--
2023-07-26 18:33
round-i.ri
555
B
-rw-r--r--
2023-07-26 18:33
step-i.ri
2.52
KB
-rw-r--r--
2023-07-26 18:33
to_c-i.ri
317
B
-rw-r--r--
2023-07-26 18:33
to_int-i.ri
541
B
-rw-r--r--
2023-07-26 18:33
truncate-i.ri
560
B
-rw-r--r--
2023-07-26 18:33
zero%3f-i.ri
336
B
-rw-r--r--
2023-07-26 18:33
Save
Rename
U:RDoc::NormalClass[iI"Numeric:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"UNumeric is the class from which all higher-level numeric classes should inherit.;To:RDoc::Markup::BlankLine o; ;[I"`Numeric allows instantiation of heap-allocated objects. Other core numeric classes such as ;TI"`Integer are implemented as immediates, which means that each Integer is a single immutable ;TI",object which is always passed by value.;T@o:RDoc::Markup::Verbatim;[I"a = 1 ;TI"+1.object_id == a.object_id #=> true ;T:@format0o; ;[I"\There can only ever be one instance of the integer +1+, for example. Ruby ensures this ;TI"]by preventing instantiation. If duplication is attempted, the same instance is returned.;T@o;;[I"bInteger.new(1) #=> NoMethodError: undefined method `new' for Integer:Class ;TI",1.dup #=> 1 ;TI"/1.object_id == 1.dup.object_id #=> true ;T;0o; ;[I"QFor this reason, Numeric should be used when defining other numeric classes.;T@o; ;[I"\Classes which inherit from Numeric must implement +coerce+, which returns a two-member ;TI"XArray containing an object that has been coerced into an instance of the new class ;TI"and +self+ (see #coerce).;T@o; ;[ I"[Inheriting classes should also implement arithmetic operator methods (<code>+</code>, ;TI"_<code>-</code>, <code>*</code> and <code>/</code>) and the <code><=></code> operator (see ;TI"UComparable). These methods may rely on +coerce+ to ensure interoperability with ;TI"(instances of other numeric classes.;T@o;;[.I"class Tally < Numeric ;TI" def initialize(string) ;TI" @string = string ;TI" end ;TI" ;TI" def to_s ;TI" @string ;TI" end ;TI" ;TI" def to_i ;TI" @string.size ;TI" end ;TI" ;TI" def coerce(other) ;TI"2 [self.class.new('|' * other.to_i), self] ;TI" end ;TI" ;TI" def <=>(other) ;TI" to_i <=> other.to_i ;TI" end ;TI" ;TI" def +(other) ;TI"3 self.class.new('|' * (to_i + other.to_i)) ;TI" end ;TI" ;TI" def -(other) ;TI"3 self.class.new('|' * (to_i - other.to_i)) ;TI" end ;TI" ;TI" def *(other) ;TI"3 self.class.new('|' * (to_i * other.to_i)) ;TI" end ;TI" ;TI" def /(other) ;TI"3 self.class.new('|' * (to_i / other.to_i)) ;TI" end ;TI" end ;TI" ;TI"tally = Tally.new('||') ;TI"*puts tally * 2 #=> "||||" ;TI"'puts tally > 1 #=> true;T;0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [[I"Comparable;To;;[ ; @\;0I"numeric.c;T[[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[3[I"%;T@d[I"+@;T@d[I"-@;T@d[I"<=>;T@d[I"abs;T@d[I" abs2;TI"complex.c;T[I" angle;T@{[I"arg;T@{[I" ceil;T@d[I" clone;T@d[I"coerce;T@d[I" conj;T@{[I"conjugate;T@{[I"denominator;TI"rational.c;T[I"div;T@d[I"divmod;T@d[I"dup;T@d[I" eql?;T@d[I" fdiv;T@d[I"finite?;T@d[I" floor;T@d[I"i;T@d[I" imag;T@{[I"imaginary;T@{[I"infinite?;T@d[I" integer?;T@d[I"magnitude;T@d[I"modulo;T@d[I"negative?;T@d[I" nonzero?;T@d[I"numerator;T@�[I" phase;T@{[I" polar;T@{[I"positive?;T@d[I"quo;T@�[I" real;T@{[I" real?;T@d[I" rect;T@{[I"rectangular;T@{[I"remainder;T@d[I" round;T@d[I" step;T@d[I" to_c;T@{[I"to_int;T@d[I" truncate;T@d[I" zero?;T@d[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"complex.c;T@\I"rational.c;T@�cRDoc::TopLevel