rpmohn / panix.com (Ross Mohn) wrote in <8FFA9C452rpmohnpanixcom / 166.84.0.240>: >I know that Hash#- operator is defined (because I use it :-), but I >can't find anything documenting it in Prog_Ruby. Am I missing it? Is it >inherited or mixed-in from someplace that I'm missing? Oops, I forgot that I had actually defined it myself. Sorry. (for my purposes, this is what I did, though I see that it is not appropriate for all: class Hash def -(other) tmp = Hash.new self.each { |key, val| tmp[key]=val unless other.has_key?(key) } tmp end end ) -- Ross Mohn rpmohn / panix.com