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 /
Enumerable /
Delete
Unzip
Name
Size
Permission
Date
Action
all%3f-i.ri
1.86
KB
-rw-r--r--
2026-04-07 17:42
any%3f-i.ri
1.81
KB
-rw-r--r--
2026-04-07 17:42
cdesc-Enumerable.ri
10.38
KB
-rw-r--r--
2026-04-07 17:42
chain-i.ri
533
B
-rw-r--r--
2026-04-07 17:42
chunk-i.ri
3.92
KB
-rw-r--r--
2026-04-07 17:42
chunk_while-i.ri
2.26
KB
-rw-r--r--
2026-04-07 17:42
collect-i.ri
808
B
-rw-r--r--
2026-04-07 17:42
collect_concat-i.ri
1.04
KB
-rw-r--r--
2026-04-07 17:42
compact-i.ri
526
B
-rw-r--r--
2026-04-07 17:42
count-i.ri
1.13
KB
-rw-r--r--
2026-04-07 17:42
cycle-i.ri
1.2
KB
-rw-r--r--
2026-04-07 17:42
detect-i.ri
1.06
KB
-rw-r--r--
2026-04-07 17:42
drop-i.ri
713
B
-rw-r--r--
2026-04-07 17:42
drop_while-i.ri
815
B
-rw-r--r--
2026-04-07 17:42
each_cons-i.ri
888
B
-rw-r--r--
2026-04-07 17:42
each_entry-i.ri
1.16
KB
-rw-r--r--
2026-04-07 17:42
each_slice-i.ri
889
B
-rw-r--r--
2026-04-07 17:42
each_with_index-i.ri
1.11
KB
-rw-r--r--
2026-04-07 17:42
each_with_object-i.ri
862
B
-rw-r--r--
2026-04-07 17:42
entries-i.ri
510
B
-rw-r--r--
2026-04-07 17:42
filter-i.ri
851
B
-rw-r--r--
2026-04-07 17:42
filter_map-i.ri
886
B
-rw-r--r--
2026-04-07 17:42
find-i.ri
1.16
KB
-rw-r--r--
2026-04-07 17:42
find_all-i.ri
930
B
-rw-r--r--
2026-04-07 17:42
find_index-i.ri
1.13
KB
-rw-r--r--
2026-04-07 17:42
first-i.ri
1.1
KB
-rw-r--r--
2026-04-07 17:42
flat_map-i.ri
1.1
KB
-rw-r--r--
2026-04-07 17:42
grep-i.ri
1.11
KB
-rw-r--r--
2026-04-07 17:42
grep_v-i.ri
1.15
KB
-rw-r--r--
2026-04-07 17:42
group_by-i.ri
1
KB
-rw-r--r--
2026-04-07 17:42
include%3f-i.ri
956
B
-rw-r--r--
2026-04-07 17:42
inject-i.ri
5.64
KB
-rw-r--r--
2026-04-07 17:42
lazy-i.ri
1.19
KB
-rw-r--r--
2026-04-07 17:42
map-i.ri
750
B
-rw-r--r--
2026-04-07 17:42
max-i.ri
2.66
KB
-rw-r--r--
2026-04-07 17:42
max_by-i.ri
1.54
KB
-rw-r--r--
2026-04-07 17:42
member%3f-i.ri
995
B
-rw-r--r--
2026-04-07 17:42
min-i.ri
2.65
KB
-rw-r--r--
2026-04-07 17:42
min_by-i.ri
1.54
KB
-rw-r--r--
2026-04-07 17:42
minmax-i.ri
1.46
KB
-rw-r--r--
2026-04-07 17:42
minmax_by-i.ri
966
B
-rw-r--r--
2026-04-07 17:42
none%3f-i.ri
1.77
KB
-rw-r--r--
2026-04-07 17:42
one%3f-i.ri
1.93
KB
-rw-r--r--
2026-04-07 17:42
partition-i.ri
1.26
KB
-rw-r--r--
2026-04-07 17:42
reduce-i.ri
5.47
KB
-rw-r--r--
2026-04-07 17:42
reject-i.ri
894
B
-rw-r--r--
2026-04-07 17:42
reverse_each-i.ri
1.01
KB
-rw-r--r--
2026-04-07 17:42
select-i.ri
851
B
-rw-r--r--
2026-04-07 17:42
slice_after-i.ri
1.62
KB
-rw-r--r--
2026-04-07 17:42
slice_before-i.ri
5.34
KB
-rw-r--r--
2026-04-07 17:42
slice_when-i.ri
2.85
KB
-rw-r--r--
2026-04-07 17:42
sort-i.ri
1.52
KB
-rw-r--r--
2026-04-07 17:42
sort_by-i.ri
3.39
KB
-rw-r--r--
2026-04-07 17:42
sum-i.ri
1.45
KB
-rw-r--r--
2026-04-07 17:42
take-i.ri
584
B
-rw-r--r--
2026-04-07 17:42
take_while-i.ri
820
B
-rw-r--r--
2026-04-07 17:42
tally-i.ri
1.23
KB
-rw-r--r--
2026-04-07 17:42
to_a-i.ri
527
B
-rw-r--r--
2026-04-07 17:42
to_h-i.ri
1004
B
-rw-r--r--
2026-04-07 17:42
to_set-i.ri
413
B
-rw-r--r--
2026-04-07 17:42
uniq-i.ri
986
B
-rw-r--r--
2026-04-07 17:42
zip-i.ri
2.5
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI" chunk:ETI"Enumerable#chunk;TF:privateo:RDoc::Markup::Document:@parts[&o:RDoc::Markup::Paragraph; [I"PEach element in the returned enumerator is a 2-element array consisting of:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"#A value returned by the block.;To;;0; [o; ; [I"RAn array ("chunk") containing the element for which that value was returned, ;TI"Land all following elements for which the block returned the same value:;T@o; ; [I" So that:;T@o;; ;;[o;;0; [o; ; [I"DEach block return value that is different from its predecessor ;TI"begins a new chunk.;To;;0; [o; ; [I"AEach block return value that is the same as its predecessor ;TI"continues the same chunk.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"De = (0..10).chunk {|i| (i / 3).floor } # => #<Enumerator: ...> ;TI" # The enumerator elements. ;TI" e.next # => [0, [0, 1, 2]] ;TI" e.next # => [1, [3, 4, 5]] ;TI" e.next # => [2, [6, 7, 8]] ;TI"e.next # => [3, [9, 10]] ;T:@format0o; ; [I"T\Method +chunk+ is especially useful for an enumerable that is already sorted. ;TI"QThis example counts words for each initial letter in a large array of words:;T@o;; [I")# Get sorted words from a web page. ;TI"[url = 'https://raw.githubusercontent.com/eneko/data-repository/master/data/words.txt' ;TI"&words = URI::open(url).readlines ;TI")# Make chunks, one for each letter. ;TI"Fe = words.chunk {|word| word.upcase[0] } # => #<Enumerator: ...> ;TI" # Display 'A' through 'F'. ;TI"Ae.each {|c, words| p [c, words.length]; break if c == 'F' } ;T;0o; ; [I"Output:;T@o;; [I"["A", 17096] ;TI"["B", 11070] ;TI"["C", 19901] ;TI"["D", 10896] ;TI"["E", 8736] ;TI"["F", 6860] ;T;0o; ; [I"IYou can use the special symbol <tt>:_alone</tt> to force an element ;TI"!into its own separate chuck:;T@o;; [I"a = [0, 0, 1, 1] ;TI"0e = a.chunk{|i| i.even? ? :_alone : true } ;TI"Be.to_a # => [[:_alone, [0]], [:_alone, [0]], [true, [1, 1]]] ;T;0o; ; [I"OFor example, you can put each line that contains a URL into its own chunk:;T@o;; [I"pattern = /http/ ;TI"open(filename) { |f| ;TI"O f.chunk { |line| line =~ pattern ? :_alone : true }.each { |key, lines| ;TI" pp lines ;TI" } ;TI"} ;T;0o; ; [I"BYou can use the special symbol <tt>:_separator</tt> or +nil+ ;TI"Cto force an element to be ignored (not included in any chunk):;T@o;; [I"a = [0, 0, -1, 1, 1] ;TI"2e = a.chunk{|i| i < 0 ? :_separator : true } ;TI"2e.to_a # => [[true, [0, 0]], [true, [1, 1]]] ;T;0o; ; [I"0Note that the separator does end the chunk:;T@o;; [I"a = [0, 0, -1, 1, -1, 1] ;TI"2e = a.chunk{|i| i < 0 ? :_separator : true } ;TI"<e.to_a # => [[true, [0, 0]], [true, [1]], [true, [1]]] ;T;0o; ; [I"RFor example, the sequence of hyphens in svn log can be eliminated as follows:;T@o;; [I"sep = "-"*72 + "\n" ;TI"&IO.popen("svn log README") { |f| ;TI" f.chunk { |line| ;TI" line != sep || nil ;TI" }.each { |_, lines| ;TI" pp lines ;TI" } ;TI"} ;TI"U#=> ["r20018 | knu | 2008-10-29 13:20:42 +0900 (Wed, 29 Oct 2008) | 2 lines\n", ;TI"# "\n", ;TI"D# "* README, README.ja: Update the portability section.\n", ;TI"# "\n"] ;TI"U# ["r16725 | knu | 2008-05-31 23:34:23 +0900 (Sat, 31 May 2008) | 2 lines\n", ;TI"# "\n", ;TI"F# "* README, README.ja: Add a note about default C flags.\n", ;TI"# "\n"] ;TI" # ... ;T;0o; ; [I"BParagraphs separated by empty lines can be parsed as follows:;T@o;; [ I"+File.foreach("README").chunk { |line| ;TI" /\A\s*\z/ !~ line || nil ;TI"}.each { |_, lines| ;TI" pp lines ;TI"};T;0: @fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"(chunk {|array| ... } -> enumerator ;T0[ I"();T@�FI"Enumerable;TcRDoc::NormalModule00