Guest User

Untitled

a guest
Jun 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. File.open(ENV['tvdb_id_file'], "r") do |infile|
  2. while (line = infile.gets)
  3. counter = counter + 1
  4. break if counter == 50
  5.  
  6. xml += line
  7. end
  8. end
Add Comment
Please, Sign In to add comment