Skip to content

Instantly share code, notes, and snippets.

@travisbell
Created November 10, 2010 00:07
Show Gist options
  • Select an option

  • Save travisbell/670086 to your computer and use it in GitHub Desktop.

Select an option

Save travisbell/670086 to your computer and use it in GitHub Desktop.
File.open(ENV['tvdb_id_file'], "r") do |infile|
while (line = infile.gets)
counter = counter + 1
break if counter == 50
xml += line
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment