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 /
ruby24 /
share /
ri /
2.4.0 /
system /
Numeric /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
482
B
-rw-r--r--
2023-07-26 18:18
%2b%40-i.ri
316
B
-rw-r--r--
2023-07-26 18:18
%2d%40-i.ri
330
B
-rw-r--r--
2023-07-26 18:18
%3c%3d%3e-i.ri
406
B
-rw-r--r--
2023-07-26 18:18
abs-i.ri
544
B
-rw-r--r--
2023-07-26 18:18
abs2-i.ri
306
B
-rw-r--r--
2023-07-26 18:18
angle-i.ri
340
B
-rw-r--r--
2023-07-26 18:18
arg-i.ri
336
B
-rw-r--r--
2023-07-26 18:18
cdesc-Numeric.ri
3.69
KB
-rw-r--r--
2023-07-26 18:18
ceil-i.ri
674
B
-rw-r--r--
2023-07-26 18:18
coerce-i.ri
872
B
-rw-r--r--
2023-07-26 18:18
conj-i.ri
324
B
-rw-r--r--
2023-07-26 18:18
conjugate-i.ri
310
B
-rw-r--r--
2023-07-26 18:18
denominator-i.ri
350
B
-rw-r--r--
2023-07-26 18:18
div-i.ri
570
B
-rw-r--r--
2023-07-26 18:18
divmod-i.ri
2.08
KB
-rw-r--r--
2023-07-26 18:18
eql%3f-i.ri
693
B
-rw-r--r--
2023-07-26 18:18
fdiv-i.ri
318
B
-rw-r--r--
2023-07-26 18:18
finite%3f-i.ri
363
B
-rw-r--r--
2023-07-26 18:18
floor-i.ri
598
B
-rw-r--r--
2023-07-26 18:18
i-i.ri
369
B
-rw-r--r--
2023-07-26 18:18
imag-i.ri
318
B
-rw-r--r--
2023-07-26 18:18
imaginary-i.ri
307
B
-rw-r--r--
2023-07-26 18:18
infinite%3f-i.ri
616
B
-rw-r--r--
2023-07-26 18:18
initialize_copy-i.ri
449
B
-rw-r--r--
2023-07-26 18:18
integer%3f-i.ri
471
B
-rw-r--r--
2023-07-26 18:18
magnitude-i.ri
556
B
-rw-r--r--
2023-07-26 18:18
modulo-i.ri
491
B
-rw-r--r--
2023-07-26 18:18
negative%3f-i.ri
345
B
-rw-r--r--
2023-07-26 18:18
nonzero%3f-i.ri
680
B
-rw-r--r--
2023-07-26 18:18
numerator-i.ri
324
B
-rw-r--r--
2023-07-26 18:18
phase-i.ri
340
B
-rw-r--r--
2023-07-26 18:18
polar-i.ri
324
B
-rw-r--r--
2023-07-26 18:18
positive%3f-i.ri
348
B
-rw-r--r--
2023-07-26 18:18
quo-i.ri
395
B
-rw-r--r--
2023-07-26 18:18
real%3f-i.ri
356
B
-rw-r--r--
2023-07-26 18:18
real-i.ri
296
B
-rw-r--r--
2023-07-26 18:18
rect-i.ri
337
B
-rw-r--r--
2023-07-26 18:18
rectangular-i.ri
331
B
-rw-r--r--
2023-07-26 18:18
remainder-i.ri
415
B
-rw-r--r--
2023-07-26 18:18
round-i.ri
632
B
-rw-r--r--
2023-07-26 18:18
singleton_method_added-i.ri
486
B
-rw-r--r--
2023-07-26 18:18
step-i.ri
2.25
KB
-rw-r--r--
2023-07-26 18:18
to_c-i.ri
317
B
-rw-r--r--
2023-07-26 18:18
to_int-i.ri
523
B
-rw-r--r--
2023-07-26 18:18
truncate-i.ri
497
B
-rw-r--r--
2023-07-26 18:18
zero%3f-i.ri
336
B
-rw-r--r--
2023-07-26 18:18
Save
Rename
U:RDoc::NormalClass[iI"Numeric:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"lib/mathn.rb;T:0@omit_headings_from_table_of_contents_below0o;;[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"0puts 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; I"numeric.c;T; 0; 0; 0[ [ [[I"Comparable;To;;[ ; @_; 0I"numeric.c;T[[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[3[I"%;T@g[I"+@;T@g[I"-@;T@g[I"<=>;T@g[I"abs;T@g[I" abs2;TI"complex.c;T[I" angle;T@~[I"arg;T@~[I" ceil;T@g[I"coerce;T@g[I" conj;T@~[I"conjugate;T@~[I"denominator;TI"rational.c;T[I"div;T@g[I"divmod;T@g[I" eql?;T@g[I" fdiv;T@g[I"finite?;T@g[I" floor;T@g[I"i;T@g[I" imag;T@~[I"imaginary;T@~[I"infinite?;T@g[I"initialize_copy;T@g[I" integer?;T@g[I"magnitude;T@g[I"modulo;T@g[I"negative?;T@g[I" nonzero?;T@g[I"numerator;T@�[I" phase;T@~[I" polar;T@~[I"positive?;T@g[I"quo;T@�[I" real;T@~[I" real?;T@g[I" rect;T@~[I"rectangular;T@~[I"remainder;T@g[I" round;T@g[I"singleton_method_added;T@g[I" step;T@g[I" to_c;T@~[I"to_int;T@g[I" truncate;T@g[I" zero?;T@g[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ I"complex.c;T@ @_I"rational.c;T@�cRDoc::TopLevel