Method: Chef::RunStatus#stop_clock
- Defined in:
- lib/chef/run_status.rb
#stop_clock ⇒ Object
sets end_time to the current time
51 52 53 54 |
# File 'lib/chef/run_status.rb', line 51 def stop_clock @start_time ||= Time.now # if we failed so early we didn't get a start time @end_time = Time.now end |