--------_3E56479AED4F017A0008_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit > Nice. Perhaps could be made more general by checking if the value is a > Fixnum first? (And if not, it could do h[x] [x].succ) generic version 'hashsuccg.c' here. $ ruby -r mkmf -e'create_makefile("hashsuccg")' $ make # make install Usage: require "hashsuccg" h ash.new("a") h.succ! "foo" # {"foo"