Florian,
thanks to Hugh, I realized that
class Array
def minus other
out = self.dup
other.each do |el|
if out.index(el)
out.delete_at out.index(el)
end
end
out
end
end
is better.
Tobi
--
* peace&love.
* http://www.pinkjuice.com/