# File lib/selectable/tags.rb, line 32 32: def ==(other) 33: if other.is_a?(Array) 34: # NOTE: This resolves the issue of sorting an Array 35: # with a mix of Object types (Integers, Strings, Symbols). 36: # As in: self.values.sort == other.sort) 37: (self.values.size == other.size) && 38: (self.values - other).empty? 39: else 40: super(other) 41: end 42: end