Class: Noventius::PostProcessors::DateRanges::DayRange

Inherits:
BaseRange
  • Object
show all
Defined in:
lib/noventius/post_processors/date_ranges.rb

Instance Attribute Summary

Attributes inherited from BaseRange

#date

Instance Method Summary collapse

Methods inherited from BaseRange

#<=>, #succ

Constructor Details

#initialize(date) ⇒ DayRange

Returns a new instance of DayRange.



115
116
117
118
# File 'lib/noventius/post_processors/date_ranges.rb', line 115

def initialize(date)
  super
  @step = 1.day
end