Sha256: 895b60e1c92af46992bfe3e678a4e575ac7bc6a48a3c3fc2fc494f0c3a689957

Contents?: true

Size: 111 Bytes

Versions: 61

Compression:

Stored size: 111 Bytes

Contents

module HashComparison
    def eql?(h)
        self == h
    end
    def hash
        self.to_a.hash
    end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
spiderfw-1.0.1 lib/spiderfw/utils/hash_comparison.rb
spiderfw-1.0.0 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.39 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.38 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.37 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.35 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.34 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.33 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.32 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.31 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.30 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.29 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.28 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.27 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.26 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.26.pre1 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.25 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.24 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.23 lib/spiderfw/utils/hash_comparison.rb
spiderfw-0.6.22 lib/spiderfw/utils/hash_comparison.rb