Class: Montrose::Rule::Covering::DateRange

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/montrose/rule/covering.rb

Instance Method Summary collapse

Instance Method Details

#include?(time) ⇒ Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/montrose/rule/covering.rb', line 34

def include?(time)
  __getobj__.include?(time.to_date)
end