-
-
Save domgetter/c90ff53217499d4e21df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I can refer to a value! | |
a = 3 | |
a + 5 | |
#=> 8 | |
# I can't refer to a value :( | |
:a = 3 | |
# SyntaxError: 7: syntax error, unexpected '=', expecting end-of-input | |
# I'm more like a string | |
puts "hello" | |
hello | |
#=> nil | |
puts :hello | |
hello | |
#=> nil | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment