Sha256: e15603cfef621894708c34a525131c15f2be56c4e8470ec932313198d348d2ee
Contents?: true
Size: 180 Bytes
Versions: 33
Compression:
Stored size: 180 Bytes
Contents
require 'time_travel/time_extensions' Time.send(:include, TimeTravel::TimeExtensions) def at_time(time) Time.now = time begin yield ensure Time.now = nil end end
Version data entries
33 entries across 33 versions & 4 rubygems