From: Yasushi Shoji Date: 2000-09-01T15:17:07+09:00 Subject: [ruby-talk:4717] Re: Double parenthesis At Fri, 1 Sep 2000 14:39:37 +0900, ts wrote: > K> ruby -e 'p ( [1].each do puts "hello" end )' > K> /tmp/rba009O9:1: parse error > K> p ( [1].each do puts "hello" end ) > > pigeon% ruby -e 'p ( [1].each() do puts "hello" end )' > hello > [1] or $ ruby -e 'p ( [1].each{ puts "hello" })' hello [1] This came out in the thread 'pitfall' on ruby-list. (in Japanese) It'd be nice to translate it after they gather all. Or, we can have eng. version in here, of cause. :) regards, -- yashi