From: Robert Klemme Date: 2012-02-07T19:47:09+09:00 Subject: Re: Using _ like in Scala? On Tue, Feb 7, 2012 at 6:56 AM, Kevin wrote: > It would make more sense to just eliminate the need to type even a > place holder while keeping the current form.  I.E. fruits.each{puts} > Or come up with semantics that allow the interpreter to accept an > input like "puts fruits" and have Ruby unwind the collection. Like irb(main):001:0> class Object irb(main):002:1> def out(io = $stdout) io.puts(self) end irb(main):003:1> end => nil irb(main):004:0> fruits = %w( apple banana orange ) => ["apple", "banana", "orange"] irb(main):005:0> fruits.each &:out apple banana orange => ["apple", "banana", "orange"] ? Btw, I don't like _ either. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/