Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/data-import.rb

Overview

Monkeypatch for active support (see github.com/rails/rails/pull/2801)

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



17
18
19
# File 'lib/data-import.rb', line 17

def ===(other)
  super || (self == Time && other.is_a?(ActiveSupport::TimeWithZone))
end