📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 11:57:59
📂
/ (Root)
/
opt
/
alt
/
ruby30
/
share
/
ri
/
system
/
Array
📍 /opt/alt/ruby30/share/ri/system/Array
🔄 Refresh
✏️
Editing: drop-i.ri
Read Only
U:RDoc::AnyMethod[iI" drop:ETI"Array#drop;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"NReturns a new \Array containing all but the first +n+ element of +self+, ;TI"+where +n+ is a non-negative \Integer; ;TI"does not modify +self+.;To:RDoc::Markup::BlankLine o; ; [I"Examples:;To:RDoc::Markup::Verbatim; [ I"a = [0, 1, 2, 3, 4, 5] ;TI"'a.drop(0) # => [0, 1, 2, 3, 4, 5] ;TI"$a.drop(1) # => [1, 2, 3, 4, 5] ;TI" a.drop(2) # => [2, 3, 4, 5];T:@format0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I" array.drop(n) -> new_array ;T0[ I" (p1);T@FI" Array;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel