DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Using Delete_at In Ruby
Source: <a href="http://ruby-doc.org/core/classes/Array.html#M002194">Class: Array</a> [ruby-doc.org]
a = %w( ant bat cat dog ) a.delete_at(2) #=> "cat" a #=> ["ant", "bat", "dog"]





