Sha256: 3fab95481c70f463fea900fc573d4985dbce1b4eceea7238e54a7199735900ec
Contents?: true
Size: 576 Bytes
Versions: 2
Compression:
Stored size: 576 Bytes
Contents
module Topographer class Importer module Logger class Simple < Topographer::Importer::Logger::Base attr_reader :successes, :failures def initialize @successes = [] @failures = [] super end def log_success(message) @successes << message end def log_failure(message) @failures << message end def successful_imports @successes.size end def failed_imports @failures.size end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
topographer-0.0.9 | lib/topographer/importer/logger/simple.rb |
topographer-0.0.8 | lib/topographer/importer/logger/simple.rb |