Sha256: 68a6c696a1f1bacfd1fbbb5521f329d45996e1d6e50138b3b62bc8c04a3b2d2f

Contents?: true

Size: 139 Bytes

Versions: 1

Compression:

Stored size: 139 Bytes

Contents

module Gobstones

  module EqualByClass

    def ==(other)
      self.class == other.class
    end

    alias_method :eql?, :==

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gobstones-0.0.1.1 lib/gobstones/modules/equal_by_class.rb