Class: Time

Inherits:
Object show all
Defined in:
lib/opal/equality_patches.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



11
12
13
14
# File 'lib/opal/equality_patches.rb', line 11

def ==(other)
  return false unless other.is_a?(Time)
  broken_equals(other)
end

#broken_equalsObject



10
# File 'lib/opal/equality_patches.rb', line 10

alias broken_equals ==