Class: Selene::DaylightSavingsTimeBuilder

Inherits:
ComponentBuilder show all
Defined in:
lib/selene/daylight_savings_time_builder.rb

Constant Summary

Constants inherited from ComponentBuilder

ComponentBuilder::DISTINCT_PROPERTIES, ComponentBuilder::EXCLUSIVE_PROPERTIES, ComponentBuilder::REQUIRED_PROPERTIES

Instance Attribute Summary

Attributes inherited from ComponentBuilder

#component, #errors, #parent

Instance Method Summary collapse

Methods inherited from ComponentBuilder

#a_component_rules, #add, #initialize, #name, #parse, #valid?

Methods included from ComponentRules

#component_rules, #property_rules

Constructor Details

This class inherits a constructor from Selene::ComponentBuilder

Instance Method Details

#value(line) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/selene/daylight_savings_time_builder.rb', line 4

def value(line)
  case line.name
  when 'rrule'
    line.rrule
  else
    super
  end
end