Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
n = '123'.split('')
puts n
# 1
# 2
# 3
a, b, c = n
puts a # 1
puts b # 2
puts c # 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment