lib/import/pftrack.rb in tracksperanto-2.1.0 vs lib/import/pftrack.rb in tracksperanto-2.1.1
- old
+ new
@@ -14,10 +14,10 @@
until io.eof?
line = io.gets
next if (!line || line =~ /^#/)
if line =~ CHARACTERS_OR_QUOTES # Tracker with a name
- t = Tracksperanto::Tracker.new{|t| t.name = unquote(line.strip) }
+ t = Tracksperanto::Tracker.new(:name => unquote(line.strip))
report_progress("Reading tracker #{t.name}")
parse_tracker(t, io)
send_tracker(t)
end
end
\ No newline at end of file