Method: PropCheck::Generators.future_time
- Defined in:
- lib/prop_check/generators.rb
.future_time(epoch: nil) ⇒ Object
Variant of #time that only generates datetimes in the future (relative to :epoch).
815 816 817 |
# File 'lib/prop_check/generators.rb', line 815 def future_time(epoch: nil) future_datetime(epoch: epoch).map(&:to_time) end |