While I was wondering why '+' was the concatenation and '-' was the
subtraction, I learned that Array indeed has the concat(other) method, but
not the substract(other) method and many other explicite spelling ones.
There is already '+' for concatenation, why concat(other). When
concat(other) why not substract(other) also. And what about union(other),
etc.
This is a sort of incompleteness and redundancy.
By chance, I also discovered a bug in the manual where it claims the
following are the same:
each_index {...}
(0..ary.size).each {...}
But they aren't. Do you see why?
Dat
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com