📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 14:15:58
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Array
📍 /opt/alt/ruby33/share/ri/system/Array
🔄 Refresh
✏️
Editing: delete_at-i.ri
Read Only
U:RDoc::AnyMethod[iI"delete_at:ETI"Array#delete_at;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"CDeletes an element from +self+, per the given Integer +index+.;To:RDoc::Markup::BlankLine o; ; [I"IWhen +index+ is non-negative, deletes the element at offset +index+:;T@o:RDoc::Markup::Verbatim; [I"a = [:foo, 'bar', 2] ;TI"a.delete_at(1) # => "bar" ;TI"a # => [:foo, 2] ;T:@format0o; ; [I"*If index is too large, returns +nil+.;T@o; ; [I"IWhen +index+ is negative, counts backward from the end of the array:;T@o;; [I"a = [:foo, 'bar', 2] ;TI" a.delete_at(-2) # => "bar" ;TI"a # => [:foo, 2] ;T; 0o; ; [I":If +index+ is too small (far from zero), returns nil.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"5array.delete_at(index) -> deleted_object or nil ;T0[ I" (p1);T@%FI" Array;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel