Created
October 13, 2012 13:57
-
-
Save FerPerales/3884705 to your computer and use it in GitHub Desktop.
Delimiters
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
puts %Q/This is the same as a double-quoted string./ | |
puts %Q/This is also the same as a double-quoted string./ | |
puts %q/And this is the same as a single-quoted string/ | |
puts %Q*This is the same as a double-quoted string* | |
puts %Q!This is also the same as a double-quoted string! | |
puts %q(And this is the same as a single-quoted string) | |
puts %Q?This is the same as a double-quoted string? | |
puts %Q/This is also the same as a double-quoted string./ | |
puts %q/And this is the same as a single-quoted string/ | |
puts %Q#This is the same as a double-quoted string# | |
puts %Q{This is also the same as a double-quoted string} | |
puts %q_And this is the same as a single-quoted string_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment