lib/tracksperanto/format_detector.rb in tracksperanto-2.8.6 vs lib/tracksperanto/format_detector.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
# Finds a suitable importer for the chosen file path. Or at least tries to, based on the file extension.
# Will then examine all the importers and ask them if they can handle the specified file
class Tracksperanto::FormatDetector
def initialize(with_path)
@@ -33,6 +34,6 @@
# Returns the human name of the importer
def human_importer_name
match? ? importer_klass.human_name : "Unknown format"
end
-end
\ No newline at end of file
+end