Sha256: ac0c5a8d868a40a9f89c65c93ad4de9825324e2ab935abb3541c82748ab82ef4
Contents?: true
Size: 283 Bytes
Versions: 18
Compression:
Stored size: 283 Bytes
Contents
# Patchs a bug in the Time class, where two instances of time with the same # value do not hash to the same hash as they do in MRI. # https://github.com/opal/opal/issues/963 if RUBY_PLATFORM == 'opal' require 'time' class Time def hash "Time:#{to_i}" end end end
Version data entries
18 entries across 18 versions & 1 rubygems