Hi,

At Mon, 10 Jul 2006 15:05:11 +0900,
Laza wrote in [ruby-talk:201045]:
> class RangeUnion < Array
      define_method(:collect, Enumerable.instance_method(:collect))
>     def each
>         super{|x|  x.each{|i| yield i}  }
>     end
> end

-- 
Nobu Nakada