lib/sslyze/xml.rb in ruby-sslyze-0.2.0 vs lib/sslyze/xml.rb in ruby-sslyze-0.2.1

- old
+ new

@@ -40,10 +40,10 @@ # Path to the XML file. # # @return [XML] # def self.open(path) - new(Nokogiri::XML(File.open(path))) + new(File.open(path) { |file| Nokogiri::XML(file) }) end # # The version of the XML output. #