Class: Date

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



3
4
5
6
# File 'lib/opal/equality_patches.rb', line 3

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

#broken_equalsObject



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

alias broken_equals ==