Created
August 30, 2011 00:54
-
-
Save rjungemann/1179837 to your computer and use it in GitHub Desktop.
DATA in Ruby
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
f = File.open __FILE__, 'w' | |
f.seek DATA.pos | |
puts f.gets | |
__END__ | |
'tasty!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment