internal “mutable” time representation
# File lib/cron_parser.rb, line 12 def initialize(time,time_source = Time) @year = time.year @month = time.month @day = time.day @hour = time.hour @min = time.min @time_source = time_source end
# File lib/cron_parser.rb, line 26 def inspect [year, month, day, hour, min].inspect end
# File lib/cron_parser.rb, line 22 def to_time time_source.local(@year, @month, @day, @hour, @min, 0) end