Sha256: a53541faa1426fd37c021341042d97e75befafe432d895c717a39e5e18822706

Contents?: true

Size: 169 Bytes

Versions: 124

Compression:

Stored size: 169 Bytes

Contents

class Clock
  @@time = Time.now
  cattr_writer :time

  def self.now
    @@time
  end

  def self.advance_by_days( days )
    @@time += (days * 60 *60 * 24)
  end

end

Version data entries

124 entries across 124 versions & 2 rubygems

Version Path
backlog-0.36.2 test/mocks/test/clock.rb
backlog-0.0.0 test/mocks/test/clock.rb
backlog-0.0.1 test/mocks/test/clock.rb
backlog-0.0.2 test/mocks/test/clock.rb
backlog-0.0.5 test/mocks/test/clock.rb
backlog-0.0.4 test/mocks/test/clock.rb
backlog-0.1.1 test/mocks/test/clock.rb
backlog-0.1.0 test/mocks/test/clock.rb
backlog-0.1.2 test/mocks/test/clock.rb
backlog-0.10.0 test/mocks/test/clock.rb
backlog-0.10.1 test/mocks/test/clock.rb
backlog-0.10.2 test/mocks/test/clock.rb
backlog-0.10.3 test/mocks/test/clock.rb
backlog-0.10.5 test/mocks/test/clock.rb
backlog-0.10.4 test/mocks/test/clock.rb
backlog-0.10.6 test/mocks/test/clock.rb
backlog-0.10.7 test/mocks/test/clock.rb
backlog-0.10.8 test/mocks/test/clock.rb
backlog-0.11.0 test/mocks/test/clock.rb
backlog-0.12.0 test/mocks/test/clock.rb