Created
May 17, 2012 16:55
-
-
Save evanphx/2720171 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
hash = "abcdefg" | |
s = <<abcdefg.chomp | |
blah | |
abcdefg | |
p s |
Yep. I'd go with `. It's easy to see, gsub, and is rare.
I had to go with ; because the `s were getting eval'd.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, so that fundamentally won't work them. Hrm. Just pick a separator and then gsub it, you think?