class CronComment

Constants

COMMENT_REGEX

Public Class Methods

matches?(cron_entry) click to toggle source
# File lib/khronotab/cron_comment.rb, line 5
def self.matches?(cron_entry)
  !!COMMENT_REGEX.match(cron_entry)
end

Public Instance Methods

to_line() click to toggle source
# File lib/khronotab/cron_comment.rb, line 13
def to_line
  puts self
end
to_s() click to toggle source
# File lib/khronotab/cron_comment.rb, line 9
def to_s
  puts self
end