Sha256: fb737842ec9b39938c512402bb226b103440e85c4be9d881b058d0b9984328e4

Contents?: true

Size: 259 Bytes

Versions: 30

Compression:

Stored size: 259 Bytes

Contents

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

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

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
hyper-model-1.0.alpha1.8 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.7 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.6 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.5 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.4 lib/opal/equality_patches.rb
hyper-model-0.99.6 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.3 lib/opal/equality_patches.rb
hyper-model-0.99.5 lib/opal/equality_patches.rb
hyper-model-0.99.4 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.2 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1.1 lib/opal/equality_patches.rb
hyper-model-1.0.alpha1 lib/opal/equality_patches.rb
hyper-model-0.99.3 lib/opal/equality_patches.rb
hyper-model-0.99.2 lib/opal/equality_patches.rb
hyper-model-0.99.1 lib/opal/equality_patches.rb
hyper-model-0.99.0 lib/opal/equality_patches.rb
hyper-mesh-1.0.0.lap28 lib/opal/equality_patches.rb
hyper-mesh-1.0.0.lap27 lib/opal/equality_patches.rb
hyper-mesh-1.0.0.lap26 lib/opal/equality_patches.rb
hyper-mesh-1.0.0.lap25 lib/opal/equality_patches.rb