Open main menu
Changes
Advanced Ruby Arrays
No change in size
,
12:28, 1 December 2007
→
Deleting Array Elements
== Deleting Array Elements ==
it
It
is not uncommon to need to delete individual elements from an array. A deletion can be performed either based on the content of an array element, or on the index position.
To delete based on an index use the ''delete_at'' method:
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits