Sha256: 940d4406231192e24d9c9b2ad12b9e02da4bab0459cf6f519ffd44a510268b45
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
# -*- coding: utf-8 -*- =begin rdoc Please see README =end module EqualInstanceVariables def ==(other) self.class == other.class && self.instance_variables == other.instance_variables && self.instance_variables.all?{|var| self.instance_variable_get(var) == other.instance_variable_get(var) } end end
Version data entries
2 entries across 2 versions & 1 rubygems