Socket
Book a DemoInstallSign in
Socket

clock

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clock

0.2.5
bundlerRubygems
Version published
Maintainers
1
Created
Source

Clock

Clock is a simple wrapper for Ruby's Time object, with a few fancy additions for testing. In test mode, Clock will automatically load the mock_clock methods, allowing you to set the current time with Clock.now=(time) and manually advance time with Clock.tick(seconds).

In any other environment other than test, Clock will behave exactly like Time.

Requirements

To initialize properly, this gem requires Rails 3.0 or above.

FAQs

Package last updated on 11 Jan 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.