class Tracksperanto::Pipeline::NoTrackersRecoveredError

Public Class Methods

new(importer) click to toggle source
# File lib/pipeline/base.rb, line 19
def initialize(importer)
  if importer.class.known_snags
    @snags = "Also note that this particular format (%s) has the following snags: %s" % [importer.const_name, importer.class.known_snags]
  end
end

Public Instance Methods

message() click to toggle source
# File lib/pipeline/base.rb, line 25
def message;
  [
    "Could not recover any non-empty trackers from this file.",
    "Wrong import format maybe?",
    @snags
  ].join("\n")
end