Skip to content

Instantly share code, notes, and snippets.

@nelantone
Last active January 27, 2021 11:29
Show Gist options
  • Save nelantone/a2b44a9c5363948109b1e26683e7b61c to your computer and use it in GitHub Desktop.
Save nelantone/a2b44a9c5363948109b1e26683e7b61c to your computer and use it in GitHub Desktop.
a = ['a','b', 'c']
a.each do |a|
a.upcase!
a[1] = 'd'
end
p a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment