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 /
ruby26 /
share /
ri /
2.6.0 /
system /
Range /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
1.37
KB
-rw-r--r--
2023-07-26 18:33
%3d%3d%3d-i.ri
774
B
-rw-r--r--
2023-07-26 18:33
%3d%3d-i.ri
681
B
-rw-r--r--
2023-07-26 18:33
as_json-i.ri
370
B
-rw-r--r--
2023-07-26 18:33
begin-i.ri
434
B
-rw-r--r--
2023-07-26 18:33
bsearch-i.ri
2.57
KB
-rw-r--r--
2023-07-26 18:33
cdesc-Range.ri
4.19
KB
-rw-r--r--
2023-07-26 18:33
cover%3f-i.ri
1.45
KB
-rw-r--r--
2023-07-26 18:33
each-i.ri
938
B
-rw-r--r--
2023-07-26 18:33
end-i.ri
451
B
-rw-r--r--
2023-07-26 18:33
entries-i.ri
539
B
-rw-r--r--
2023-07-26 18:33
eql%3f-i.ri
693
B
-rw-r--r--
2023-07-26 18:33
exclude_end%3f-i.ri
520
B
-rw-r--r--
2023-07-26 18:33
first-i.ri
533
B
-rw-r--r--
2023-07-26 18:33
hash-i.ri
530
B
-rw-r--r--
2023-07-26 18:33
include%3f-i.ri
698
B
-rw-r--r--
2023-07-26 18:33
inspect-i.ri
413
B
-rw-r--r--
2023-07-26 18:33
json_create-c.ri
418
B
-rw-r--r--
2023-07-26 18:33
last-i.ri
754
B
-rw-r--r--
2023-07-26 18:33
max-i.ri
832
B
-rw-r--r--
2023-07-26 18:33
member%3f-i.ri
696
B
-rw-r--r--
2023-07-26 18:33
min-i.ri
839
B
-rw-r--r--
2023-07-26 18:33
new-c.ri
529
B
-rw-r--r--
2023-07-26 18:33
size-i.ri
617
B
-rw-r--r--
2023-07-26 18:33
step-i.ri
1.38
KB
-rw-r--r--
2023-07-26 18:33
to_a-i.ri
533
B
-rw-r--r--
2023-07-26 18:33
to_json-i.ri
482
B
-rw-r--r--
2023-07-26 18:33
to_s-i.ri
383
B
-rw-r--r--
2023-07-26 18:33
Save
Rename
U:RDoc::NormalClass[iI" Range:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"#ext/json/lib/json/add/range.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ o:RDoc::Markup::Paragraph;[ I"JA <code>Range</code> represents an interval---a set of values with a ;TI"?beginning and an end. Ranges may be constructed using the ;TI"-<em>s</em><code>..</code><em>e</em> and ;TI"<<em>s</em><code>...</code><em>e</em> literals, or with ;TI":Range::new. Ranges constructed using <code>..</code> ;TI"Hrun from the beginning to the end inclusively. Those created using ;TI"G<code>...</code> exclude the end value. When used as an iterator, ;TI".ranges return each value in the sequence.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[ I"(-1..-5).to_a #=> [] ;TI"1(-5..-1).to_a #=> [-5, -4, -3, -2, -1] ;TI"6('a'..'e').to_a #=> ["a", "b", "c", "d", "e"] ;TI"1('a'...'e').to_a #=> ["a", "b", "c", "d"] ;T:@format0S:RDoc::Markup::Heading: leveli: textI"Endless Ranges;T@o;;[I":An "endless range" represents a semi-infinite range. ;TI".Literal notation for an endless range is:;T@o; ;[I"(1..) ;TI"# or similarly ;TI"(1...) ;T;0o;;[I"Which is equivalent to;T@o; ;[I"((1..nil) # or similarly (1...nil) ;TI"4Range.new(1, nil) # or Range.new(1, nil, true) ;T;0o;;[I"FEndless ranges are useful, for example, for idiomatic slicing of ;TI"arrays:;T@o; ;[I",[1, 2, 3, 4, 5][2...] # => [3, 4, 5] ;T;0o;;[I"!Some implementation details:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"%+end+ of endless range is +nil+;;To;;0;[o;;[I"B+each+ of endless range enumerates infinite sequence (may be ;TI"Auseful in combination with Enumerable#take_while or similar ;TI"methods);;To;;0;[o;;[I"?<code>(1..)</code> and <code>(1...)</code> are not equal, ;TI"9although technically representing the same sequence.;T@S;;i;I"Custom Objects in Ranges;T@o;;[I"FRanges can be constructed using any objects that can be compared ;TI"*using the <code><=></code> operator. ;TI"MMethods that treat the range as a sequence (#each and methods inherited ;TI"=from Enumerable) expect the begin object to implement a ;TI"E<code>succ</code> method to return the next object in sequence. ;TI"7The #step and #include? methods require the begin ;TI"<object to implement <code>succ</code> or to be numeric.;T@o;;[ I"BIn the <code>Xs</code> class below both <code><=></code> and ;TI"F<code>succ</code> are implemented so <code>Xs</code> can be used ;TI"Fto construct ranges. Note that the Comparable module is included ;TI"Kso the <code>==</code> method is defined in terms of <code><=></code>.;T@o; ;[I":class Xs # represent a string of 'x's ;TI" include Comparable ;TI" attr :length ;TI" def initialize(n) ;TI" @length = n ;TI" end ;TI" def succ ;TI" Xs.new(@length + 1) ;TI" end ;TI" def <=>(other) ;TI"" @length <=> other.length ;TI" end ;TI" def to_s ;TI"+ sprintf "%2d #{inspect}", @length ;TI" end ;TI" def inspect ;TI" 'x' * @length ;TI" end ;TI" end ;T;0o;;[I">An example of using <code>Xs</code> to construct a range:;T@o; ;[I"0r = Xs.new(3)..Xs.new(6) #=> xxx..xxxxxx ;TI"?r.to_a #=> [xxx, xxxx, xxxxx, xxxxxx] ;TI"(r.member?(Xs.new(5)) #=> true;T;0; I"range.c;T; 0; 0; 0[ [ [[I"Enumerable;To;;[ ; @; 0I"range.c;T[[I" class;T[[:public[[I"json_create;TI"#ext/json/lib/json/add/range.rb;T[I"new;T@�[:protected[ [:private[ [I" instance;T[[;[[I"%;T@�[I"==;T@�[I"===;T@�[I"as_json;T@�[I" begin;T@�[I"bsearch;T@�[I"cover?;T@�[I" each;T@�[I"end;T@�[I"entries;T@�[I" eql?;T@�[I"exclude_end?;T@�[I" first;T@�[I" hash;T@�[I" include?;T@�[I"inspect;T@�[I" last;T@�[I"max;T@�[I"member?;T@�[I"min;T@�[I" size;T@�[I" step;T@�[I" to_a;T@�[I"to_json;T@�[I" to_s;T@�[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[@ I"lib/pp.rb;T@@cRDoc::TopLevel