Sha256: 075f2cbebc78818dd522d824eddee3ce28ea9df35c45f03af917906e6542126d

Contents?: true

Size: 91 Bytes

Versions: 2

Compression:

Stored size: 91 Bytes

Contents

def time_rand from = 0.0, to = Time.now
  Time.at(from + rand * (to.to_f - from.to_f))
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thermometer-0.0.3 test/dummy/lib/helper_methods.rb
thermometer-0.0.2 test/dummy/lib/helper_methods.rb