Last active
August 29, 2015 14:23
-
-
Save DouglasMeyer/dd9a2482aa59bc318226 to your computer and use it in GitHub Desktop.
DATA and __END__ in ruby
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 DATA.read # will print out what is below the __END__ line | |
__END__ | |
Hello | |
let me try some things |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code and Data in the same file :)