Sha256: 95f7d487819cc75a4b305aad656efb47236786afa8f43376a6232ae1bb996bf1
Contents?: true
Size: 234 Bytes
Versions: 16
Compression:
Stored size: 234 Bytes
Contents
module TStructComparable def ==(other) return false unless other.is_a?(self.class) self.class.props.keys.all? do |prop| self.send(prop) == other.send(prop) end end def eql?(other) self == other end end
Version data entries
16 entries across 16 versions & 1 rubygems