Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/hyper-operation/opal_patches.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object


11
12
13
14
# File 'lib/hyper-operation/opal_patches.rb', line 11

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

#broken_equalsObject


10
# File 'lib/hyper-operation/opal_patches.rb', line 10

alias broken_equals ==