D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Array
/
Filename :
delete_at-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the element at the specified index, returning that element, or <tt>nil</tt> if the index is out of range. See also <tt>Array#slice!</tt>. - !ruby/struct:SM::Flow::VERB body: " a = %w( ant bat cat dog )\n a.delete_at(2) #=> "cat"\n a #=> ["ant", "bat", "dog"]\n a.delete_at(99) #=> nil\n" full_name: Array#delete_at is_singleton: false name: delete_at params: | array.delete_at(index) -> obj or nil visibility: public