Module: DateContinuity

Defined in:
lib/date_continuity.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.duration_methodObject

Returns the value of attribute duration_method.



9
10
11
# File 'lib/date_continuity.rb', line 9

def duration_method
  @duration_method
end

.end_methodObject

Returns the value of attribute end_method.



9
10
11
# File 'lib/date_continuity.rb', line 9

def end_method
  @end_method
end

.frequency_count_methodObject

Returns the value of attribute frequency_count_method.



9
10
11
# File 'lib/date_continuity.rb', line 9

def frequency_count_method
  @frequency_count_method
end

.start_methodObject

Returns the value of attribute start_method.



9
10
11
# File 'lib/date_continuity.rb', line 9

def start_method
  @start_method
end

.time_unit_methodObject

Returns the value of attribute time_unit_method.



9
10
11
# File 'lib/date_continuity.rb', line 9

def time_unit_method
  @time_unit_method
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



12
13
14
# File 'lib/date_continuity.rb', line 12

def self.configure
  yield self
end