Mini Shell
--- !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
Zerion Mini Shell 1.0