Skip to content

Instantly share code, notes, and snippets.

@electronicbites
Created October 8, 2018 20:39
Show Gist options
  • Save electronicbites/1ac429a8858edc15b2541456106ebc6e to your computer and use it in GitHub Desktop.
Save electronicbites/1ac429a8858edc15b2541456106ebc6e to your computer and use it in GitHub Desktop.
a = [1, 2, 3]
a = Array.new([1, 2, 3])
ary = Array.new
Array.new(3)
Array.new(3, true)
a[0]
a.size
a << 23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment