class Rufus::CronLine
def parse_list (item, min, max)
def parse_list (item, min, max) items = item.split(",") items.inject([]) do |result, i| i = Integer(i) i = min if i < min i = max if i > max result.push i end end
def parse_list (item, min, max) items = item.split(",") items.inject([]) do |result, i| i = Integer(i) i = min if i < min i = max if i > max result.push i end end