Skip to content

Instantly share code, notes, and snippets.

@jjuliano
Created June 2, 2019 22:09
Show Gist options
  • Save jjuliano/94a9aa7164f773d3e0ef50dbe7527f5e to your computer and use it in GitHub Desktop.
Save jjuliano/94a9aa7164f773d3e0ef50dbe7527f5e to your computer and use it in GitHub Desktop.
a = [1, 2, 3, 4, 5, 0]
a.drop(3) #=> [4, 5, 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment