Class: CronInfo::DayOfMonthParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/cron_info/day_of_month_parser.rb

Instance Method Summary collapse

Methods inherited from Parser

#is_every_time_interval?, #is_numeric?, #is_range?, #is_word?, #is_word_range?, #parse, #parse_every_time_interval, #parse_range, #parse_single, #parse_word, #parse_word_range, #raise_out_of_range_error

Instance Method Details

#labelObject



11
12
13
# File 'lib/cron_info/day_of_month_parser.rb', line 11

def label
  "day of month"
end

#max_valueObject



7
8
9
# File 'lib/cron_info/day_of_month_parser.rb', line 7

def max_value
  31
end

#min_valueObject



3
4
5
# File 'lib/cron_info/day_of_month_parser.rb', line 3

def min_value
  1
end