101
102
103
104
105
|
# File 'lib/time_of_day.rb', line 101
def at(time_of_day)
time_of_day = TimeOfDay.parse(time_of_day) if time_of_day.is_a?(String)
zone = Time.zone || Time
zone.local(year, month, day, time_of_day.hour, time_of_day.minute, time_of_day.second)
end
|