Skip to content

Instantly share code, notes, and snippets.

@DouglasMeyer
Last active August 29, 2015 14:23
Show Gist options
  • Save DouglasMeyer/dd9a2482aa59bc318226 to your computer and use it in GitHub Desktop.
Save DouglasMeyer/dd9a2482aa59bc318226 to your computer and use it in GitHub Desktop.
DATA and __END__ in ruby
puts DATA.read # will print out what is below the __END__ line
__END__
Hello
let me try some things
@DouglasMeyer
Copy link
Author

Code and Data in the same file :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment