Sha256: ace56cde51de7cd39ec9444e4f7067b8763547d233cbd13bb797ffe4e837ad85
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
# encoding: UTF-8 module ProgressReporters class NilProgressReporter def self.instance @instance ||= new end def on_progress(&block) self end def on_complete(&block) self end def set_step(step) self end def report_progress(count, total); end def report_complete; end def reset; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
progress-reporters-1.0.0 | lib/progress-reporters/nil_progress_reporter.rb |