Skip to content

Instantly share code, notes, and snippets.

@rjungemann
Created August 30, 2011 00:54
Show Gist options
  • Save rjungemann/1179837 to your computer and use it in GitHub Desktop.
Save rjungemann/1179837 to your computer and use it in GitHub Desktop.
DATA in Ruby
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