lib/import/base.rb in tracksperanto-2.8.6 vs lib/import/base.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
# The base class for all the import modules. By default, when you inherit from
# this class the inherited class will be included in the list of supported
# Tracksperanto importers. The API that an importer should present is very
# basic, and consists only of a few methods. The main method is
# `each`.
@@ -75,6 +76,6 @@
# OBSOLETE: do not use
def send_tracker(tracker_obj)
STDERR.puts "Import::Base#send_tracker has been deprecated, please rewrite your importer to use yield(t) inside each instead"
@receiver.push(tracker_obj)
end
-end
\ No newline at end of file
+end