Class: RiCal::OccurrencePeriod
- Defined in:
- lib/ri_cal/occurrence_period.rb
Instance Attribute Summary collapse
-
#dtend ⇒ Object
readonly
Returns the value of attribute dtend.
-
#dtstart ⇒ Object
readonly
Returns the value of attribute dtstart.
Instance Method Summary collapse
- #<=>(other) ⇒ Object
-
#initialize(dtstart, dtend) ⇒ OccurrencePeriod
constructor
A new instance of OccurrencePeriod.
- #to_s ⇒ Object
Constructor Details
#initialize(dtstart, dtend) ⇒ OccurrencePeriod
Returns a new instance of OccurrencePeriod.
4 5 6 7 |
# File 'lib/ri_cal/occurrence_period.rb', line 4 def initialize(dtstart, dtend) @dtstart = dtstart @dtend = dtend end |
Instance Attribute Details
#dtend ⇒ Object (readonly)
Returns the value of attribute dtend.
3 4 5 |
# File 'lib/ri_cal/occurrence_period.rb', line 3 def dtend @dtend end |
#dtstart ⇒ Object (readonly)
Returns the value of attribute dtstart.
3 4 5 |
# File 'lib/ri_cal/occurrence_period.rb', line 3 def dtstart @dtstart end |