Sha256: 7fb6afe881ce3d76afa2b2d0f95782195295e2e91a96f676b1628d9e908e31b0

Contents?: true

Size: 143 Bytes

Versions: 1

Compression:

Stored size: 143 Bytes

Contents

module MM
  module SimpleHashable
    def eql?(another)
      to_s == another.to_s
    end
    
    def hash
      to_s.hash
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xli-mm-0.0.3 lib/mm/utils.rb