Sha256: 9dbe2c79fce14c9295e028c57d0ecbda773bb6c2b5ba14b869ab6ecb3deacb0d
Contents?: true
Size: 185 Bytes
Versions: 16
Compression:
Stored size: 185 Bytes
Contents
require 'date' class Randgen DATE_TIME_EPOCH = ::DateTime.new(2015, 1, 1, 0, 0, 0) def self.date DATE_TIME_EPOCH - rand(800) end def self.time date.to_time end end
Version data entries
16 entries across 16 versions & 1 rubygems