Class: L43::Time::Range

Inherits:
Object
  • Object
show all
Extended by:
OpenObject
Defined in:
lib/l43/time/range.rb

Instance Method Summary collapse

Instance Method Details

#===(other) ⇒ Object



11
12
13
14
15
16
# File 'lib/l43/time/range.rb', line 11

def ===(other)
  other = _time(other)
  return false if from&.> other
  return false if to&.< other
  true
end