module ElapsedWatch
Constants
- DEFAULT_EVENT_FILE
- DESCRIPTION
- FUTURE_EVENT_FORMAT
The format for events occuring in the future
- PAST_EVENT_FORMAT
The format for events occuring in the past
- SUMMARY
- VERSION
Public Class Methods
run(event_file,options={})
click to toggle source
Module method that runs the elapsed watcher
Inputs¶ ↑
-
event_file (string) - name of the event file, nil to use default
-
options (hash) - options from command line
Returns¶ ↑
Array of elapsed times for events
# File lib/elapsed_watch.rb, line 26 def self.run(event_file,options={}) EventCollection.new(event_file).map(&:to_s) end