Sha256: c8a819b102d9b852037713dd8f1962dd4d4603d23f75773458ce7aced1d06567

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

# encoding: UTF-8

module ProgressReporters

  class NilStagedProgressReporter < NilProgressReporter
    def on_stage_changed(&block)
      self
    end

    def on_stage_finished(&block)
    end

    def set_stage(stage)
      self
    end

    def change_stage(new_stage); end
    def report_stage_finished(count, total); end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
progress-reporters-1.0.0 lib/progress-reporters/nil_staged_progress_reporter.rb