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 /
ruby34 /
share /
ri /
system /
Range /
Delete
Unzip
Name
Size
Permission
Date
Action
%25-i.ri
1006
B
-rw-r--r--
2026-04-07 16:51
%3d%3d%3d-i.ri
1.14
KB
-rw-r--r--
2026-04-07 16:51
%3d%3d-i.ri
1.25
KB
-rw-r--r--
2026-04-07 16:51
as_json-i.ri
1.09
KB
-rw-r--r--
2026-04-07 16:51
begin-i.ri
507
B
-rw-r--r--
2026-04-07 16:51
bsearch-i.ri
444
B
-rw-r--r--
2026-04-07 16:51
cdesc-Range.ri
10.67
KB
-rw-r--r--
2026-04-07 16:51
count-i.ri
1.24
KB
-rw-r--r--
2026-04-07 16:51
cover%3f-i.ri
4.44
KB
-rw-r--r--
2026-04-07 16:51
each-i.ri
697
B
-rw-r--r--
2026-04-07 16:51
end-i.ri
520
B
-rw-r--r--
2026-04-07 16:51
entries-i.ri
580
B
-rw-r--r--
2026-04-07 16:51
eql%3f-i.ri
1.27
KB
-rw-r--r--
2026-04-07 16:51
exclude_end%3f-i.ri
647
B
-rw-r--r--
2026-04-07 16:51
first-i.ri
847
B
-rw-r--r--
2026-04-07 16:51
hash-i.ri
499
B
-rw-r--r--
2026-04-07 16:51
include%3f-i.ri
1.14
KB
-rw-r--r--
2026-04-07 16:51
inspect-i.ri
796
B
-rw-r--r--
2026-04-07 16:51
json_create-c.ri
309
B
-rw-r--r--
2026-04-07 16:51
last-i.ri
1.23
KB
-rw-r--r--
2026-04-07 16:51
max-i.ri
3
KB
-rw-r--r--
2026-04-07 16:51
member%3f-i.ri
1.18
KB
-rw-r--r--
2026-04-07 16:51
min-i.ri
3
KB
-rw-r--r--
2026-04-07 16:51
minmax-i.ri
1.99
KB
-rw-r--r--
2026-04-07 16:51
new-c.ri
818
B
-rw-r--r--
2026-04-07 16:51
overlap%3f-i.ri
2.71
KB
-rw-r--r--
2026-04-07 16:51
reverse_each-i.ri
785
B
-rw-r--r--
2026-04-07 16:51
size-i.ri
810
B
-rw-r--r--
2026-04-07 16:51
step-i.ri
3.16
KB
-rw-r--r--
2026-04-07 16:51
to_a-i.ri
597
B
-rw-r--r--
2026-04-07 16:51
to_json-i.ri
688
B
-rw-r--r--
2026-04-07 16:51
to_s-i.ri
772
B
-rw-r--r--
2026-04-07 16:51
Save
Rename
U:RDoc::AnyMethod[iI" step:ETI"Range#step;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"UIterates over the elements of range in steps of +s+. The iteration is performed ;TI"by <tt>+</tt> operator:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I")(0..6).step(2) { puts _1 } #=> 1..5 ;TI"# Prints: 0, 2, 4, 6 ;TI" ;TI"=# Iterate between two dates in step of 1 day (24 hours) ;TI"N(Time.utc(2022, 2, 24)..Time.utc(2022, 3, 1)).step(24*60*60) { puts _1 } ;TI"# Prints: ;TI"!# 2022-02-24 00:00:00 UTC ;TI"!# 2022-02-25 00:00:00 UTC ;TI"!# 2022-02-26 00:00:00 UTC ;TI"!# 2022-02-27 00:00:00 UTC ;TI"!# 2022-02-28 00:00:00 UTC ;TI"!# 2022-03-01 00:00:00 UTC ;T:@format0o; ; [I"PIf <tt> + step</tt> decreases the value, iteration is still performed when ;TI"+step +begin+ is higher than the +end+:;T@o;; [I"!(0..6).step(-2) { puts _1 } ;TI"# Prints nothing ;TI" ;TI"!(6..0).step(-2) { puts _1 } ;TI"# Prints: 6, 4, 2, 0 ;TI" ;TI"O(Time.utc(2022, 3, 1)..Time.utc(2022, 2, 24)).step(-24*60*60) { puts _1 } ;TI"# Prints: ;TI"!# 2022-03-01 00:00:00 UTC ;TI"!# 2022-02-28 00:00:00 UTC ;TI"!# 2022-02-27 00:00:00 UTC ;TI"!# 2022-02-26 00:00:00 UTC ;TI"!# 2022-02-25 00:00:00 UTC ;TI"!# 2022-02-24 00:00:00 UTC ;T; 0o; ; [I"PWhen the block is not provided, and range boundaries and step are Numeric, ;TI"7the method returns Enumerator::ArithmeticSequence.;T@o;; [I"*(1..5).step(2) # => ((1..5).step(2)) ;TI"/(1.0..).step(1.5) #=> ((1.0..).step(1.5)) ;TI"1(..3r).step(1/3r) #=> ((..3/1).step((1/3))) ;T; 0o; ; [I"XEnumerator::ArithmeticSequence can be further used as a value object for iteration ;TI"Uor slicing of collections (see Array#[]). There is a convenience method #% with ;TI"Rbehavior similar to +step+ to produce arithmetic sequences more expressively:;T@o;; [I"# Same as (1..5).step(2) ;TI"#(1..5) % 2 # => ((1..5).%(2)) ;T; 0o; ; [I"OIn a generic case, when the block is not provided, Enumerator is returned:;T@o;; [I"B('a'..).step('b') #=> #<Enumerator: "a"..:step("b")> ;TI"6('a'..).step('b').take(3) #=> ["a", "ab", "abb"] ;T; 0o; ; [I"RIf +s+ is not provided, it is considered +1+ for ranges with numeric +begin+:;T@o;; [I"(1..5).step { p _1 } ;TI"# Prints: 1, 2, 3, 4, 5 ;T; 0o; ; [I"6For non-Numeric ranges, step absence is an error:;T@o;; [I"A(Time.utc(2022, 3, 1)..Time.utc(2022, 2, 24)).step { p _1 } ;TI"G# raises: step is required for non-numeric ranges (ArgumentError) ;T; 0o; ; [I"WFor backward compatibility reasons, String ranges support the iteration both with ;TI"Wstring step and with integer step. In the latter case, the iteration is performed ;TI"5by calculating the next values with String#succ:;T@o;; [ I"!('a'..'e').step(2) { p _1 } ;TI"# Prints: a, c, e ;TI"('a'..'e').step { p _1 } ;TI",# Default step 1; prints: a, b, c, d, e;T; 0: @fileI"range.c;T:0@omit_headings_from_table_of_contents_below0I"istep(s = 1) {|element| ... } -> self step(s = 1) -> enumerator/arithmetic_sequence ;T0[ I"(*args);T@dFI" Range;TcRDoc::NormalClass00