structure.rb in structure-0.28.0 vs structure.rb in structure-0.28.1

- old
+ new

@@ -12,9 +12,10 @@ def attribute_names self.class.attribute_names end def ==(other) + return false unless other.respond_to?(:attributes) attributes == other.attributes end def inspect class_name = self.class.name || self.class.to_s.gsub(/[^\w:]/, '')