Method: Fixtures::Time#variants
- Defined in:
- lib/data_model/fixtures/time.rb
#variants ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/data_model/fixtures/time.rb', line 20 def variants now = ::Time.now { time: now, string: [now.strftime("%H:%M:%S.%6N"), now], invalid: "invalid", early: earliest_time - 1, late: latest_time + 1, missing: nil } end |