lib/shivers/parts/alphanumeric.rb in shivers-0.6.0.pre.7 vs lib/shivers/parts/alphanumeric.rb in shivers-0.6.0.pre.8
- old
+ new
@@ -30,10 +30,10 @@
end
alias eql? ==
def hash
- self.class.hash ^ state.hash
+ [self.class, state].hash
end
def state
[@traits]
end