Sha256: 4835a0c229c1e1ff600ebebdf2ec3c6fa673baad1f1c3d0979063fbca4797b32

Contents?: true

Size: 204 Bytes

Versions: 98

Compression:

Stored size: 204 Bytes

Contents

class Clock
  def self.at( *params )
    #TODO fix this
    eval("Time.at #{params.join(',')}")
  end

  def self.now
    Time.now
  end

  def self.time=
    raise "Cannot set real Clock class"
  end
end

Version data entries

98 entries across 98 versions & 2 rubygems

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