Skip to content

Instantly share code, notes, and snippets.

@rubydubee
Created June 30, 2011 22:23
Show Gist options
  • Save rubydubee/1057428 to your computer and use it in GitHub Desktop.
Save rubydubee/1057428 to your computer and use it in GitHub Desktop.
Array delete
a=[1,2,3,4,4,3,3,5]
a.delete(3)
puts a #[1,2,4,4,5]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment