require "minuteman/time_spans" # Public: Minuteman core classs # class Minuteman module TimeEvents # Public: Helper to get all the time trackers ready # # event_name - The event to be tracked # date - A given Time object # def self.start(time_spans, event_name, time) time_spans.map do |t| t.new(event_name, time) end end end end