lib/xdr/struct.rb in xdr-1.0.0 vs lib/xdr/struct.rb in xdr-2.0.0
- old
+ new
@@ -72,10 +72,10 @@
return false unless other.is_a?(self.class)
other.attributes.eql? self.attributes
end
def hash
- [self.class, self.attribues].hash
+ [self.class, self.attributes].hash
end
def read_attribute(attr)
@attributes[attr]
end