Created
May 21, 2014 19:25
-
-
Save sstelfox/cc525d6f7c6f7d38a740 to your computer and use it in GitHub Desktop.
Using a DOCSTRING within a call time argument to a method.
This file contains hidden or 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
| def test(one, str, two) | |
| puts str | |
| end | |
| test(3, <<EOM, 6) | |
| This is a multiline string in some madness version fo the format | |
| EOM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment