# File lib/rpm/rpmfile.rb, line 14 def initialize(file) if file.is_a?(String) file = File.new(file, "r") end @file = file # Make sure we're at the beginning of the file. @file.seek(0, IO::SEEK_SET) end