Hi.
I'm a newby in this Forum and in Ruby, but I want give my contribution.

class Array
  alias oldJoin join
  def join(sep='')
    res=self
    res=self.map {|el| yield el} if block_given?
    res.oldJoin(sep)
  end
end

What you things about-it?

Thank in advance, for any comments.

-- 
Posted via http://www.ruby-forum.com/.