lib/smilodon.rb in smilodon-0.3.4 vs lib/smilodon.rb in smilodon-0.3.5

- old
+ new

@@ -120,10 +120,9 @@ # @raise [DataFileNotConfigured] Raises an exception when the file is not configured. # @raise [MissingDataFile] Raises an exception when the configured file is missing. def read(file) raise DataFileNotConfigured unless file raise MissingDataFile unless File.exist?(path(file)) - - Iconv.conv 'UTF-8', 'ISO-8859-1', File.read(path(file)) + File.read path(file) end end end