Module: ParallelReportPortal::Clock
- Included in:
- ParallelReportPortal
- Defined in:
- lib/parallel_report_portal/clock.rb
Overview
This module is responsilbe for the timekeeping for the tests.
Instance Method Summary collapse
-
#clock ⇒ Integer
Get the current time.
Instance Method Details
#clock ⇒ Integer
Get the current time.
This is based on the Unix time stamp and is in milliseconds.
9 10 11 |
# File 'lib/parallel_report_portal/clock.rb', line 9 def clock (Time.now.to_f * 1000).to_i end |