From: Yossef Mendelssohn Date: 2007-06-11T01:00:39+09:00 Subject: Re: Overloading Array Subtraction operator On Jun 10, 2:56 am, "Erwin Abbott" wrote: > The - operator compares objects by their ID, so they aren't removed > unless they are instances of the same object. Is that so? Then why does this work? irb(main):001:0> %w{a b c} - %w{b} => ["a", "c"] And any number of similar examples. -- -yossef