Sha256: 659879777bb6cbad51cee319a5329aaf2957fa91302d36d396dcfec9de18d0a7

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

module ActiveMocker
  class Progress
    def initialize(count)
      @progress = ProgressBar.create(title:  'Generating Mocks',
                                     total:  count,
                                     format: '%t |%b>>%i| %p%%')
    end

    def increment
      @progress.increment
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_mocker-2.0.0 lib/active_mocker/progress.rb
active_mocker-2.0.0.rc1 lib/active_mocker/progress.rb
active_mocker-2.0.0.pre1 lib/active_mocker/progress.rb
active_mocker-2.0.0.beta1 lib/active_mocker/progress.rb