Guest User

Untitled

a guest
Feb 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2.  
  3. File.open(__FILE__, File::WRONLY) do |file|
  4. file.truncate(DATA.pos)
  5. file.seek(DATA.pos)
  6. file.write('In your __FILE__, editing your datas')
  7. end
  8.  
  9. __END__
Add Comment
Please, Sign In to add comment