Sha256: bc012885f11eeb8656c23209b4086f6897343cc35564ffd50eba5ebd86efb373

Contents?: true

Size: 125 Bytes

Versions: 77

Compression:

Stored size: 125 Bytes

Contents

class SimpleCounter

  attr_reader :count

  def initialize
    @count = 0
  end

  def increment
    @count += 1
  end

end

Version data entries

77 entries across 62 versions & 7 rubygems

Version Path
mocha-1.6.0 test/simple_counter.rb
mocha-1.5.0 test/simple_counter.rb
mocha-1.4.0 test/simple_counter.rb
mocha-1.3.0 test/simple_counter.rb
mocha-1.2.1 test/simple_counter.rb
mocha-1.2.0 test/simple_counter.rb
bourne-1.6.0 test/simple_counter.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/mocha-1.0.0/test/simple_counter.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/mocha-1.0.0/test/simple_counter.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/mocha-1.0.0/test/simple_counter.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/mocha-1.0.0/test/simple_counter.rb
mocha-1.1.0 test/simple_counter.rb
mocha-1.0.0 test/simple_counter.rb
mocha-1.0.0.alpha test/simple_counter.rb
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/mocha-0.14.0/test/simple_counter.rb
challah-1.0.0 vendor/bundle/gems/mocha-0.14.0/test/simple_counter.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/mocha-0.14.0/test/simple_counter.rb
bourne-1.5.0 test/simple_counter.rb
mocha-0.14.0 test/simple_counter.rb
challah-1.0.0.beta3 vendor/bundle/gems/bourne-1.4.0/test/simple_counter.rb