Class: AWSCronParser::Describer::FieldDescribers::Month

Inherits:
Base
  • Object
show all
Defined in:
lib/aws_cron_parser/describer/field_describers/month.rb

Overview

Describes month field

Constant Summary

Constants inherited from Base

Base::LIST_PATTERN, Base::RANGE_PATTERN, Base::STEP_PATTERN

Instance Attribute Summary

Attributes inherited from Base

#is_aws, #value

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Helpers

included

Constructor Details

This class inherits a constructor from AWSCronParser::Describer::FieldDescribers::Base

Instance Method Details

#describeObject



10
11
12
13
14
15
16
17
# File 'lib/aws_cron_parser/describer/field_describers/month.rb', line 10

def describe
  return nil if wildcard?

  # Normalize abbreviations to numbers first
  @value = normalize_month_value(value)

  super
end