Class: Date

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



3
4
5
6
# File 'lib/hyper-operation/opal_patches.rb', line 3

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

#broken_equalsObject



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

alias broken_equals ==