engines/adva_newsletter/vendor/gems/cronedit-0.3.0/lib/cronedit.rb
def parseTextDef aLine
            hashDef = parse_timedate aLine
            hashDef[:command] = aLine.scan(/(?:\S+\s+){5}(.*)/).shift[-1]
            ##TODO: raise( FormatError.new "Command cannot be empty") if aDef[:command].empty?
            hashDef
        end
# Parses a raw text definition of crontab entry
# returns hash definition
# Original author of parsing: gotoken@notwork.org
Parses a raw text definition of crontab entry
returns hash definition
Original author of parsing: gotoken@notwork.org
Parses a raw text definition of crontab entry returns hash definition Original author of parsing : gotoken@notwork . org
def parseTextDef aLine
            hashDef = parse_timedate aLine
            hashDef[:command] = aLine.scan(/(?:\S+\s+){5}(.*)/).shift[-1]
            hashDef
        end
def parseTextDef aLine hashDef = parse_timedate aLine hashDef [ :command ] = aLine . scan ( / (?: \S + \s +){5}(.*) / ) . shift [ - 1 ] hashDef end
Parses a raw text definition of crontab entry
returns hash definition
Original author of parsing: gotoken@notwork.org
Parses a raw text definition of crontab entry returns hash definition Original author of parsing : gotoken@notwork . org
##TODO: raise( FormatError.new "Command cannot be empty") if aDef[:command].empty?
aLine