file = File.new( "yourFile.txt" ) file.readline # => "Let me not to the marriage of true minds\n" file.readline # => "Admit impediments. Love is not love\n" file.readline # => "Which alters when it alteration finds,\n" file.close