From: Yukihiro Matsumoto Date: 2012-02-28T01:49:25+09:00 Subject: [ruby-dev:45295] [ruby-trunk - Feature #6095][Closed] Question about block parameter syntax Issue #6095 has been updated by Yukihiro Matsumoto. Status changed from Open to Closed fixed by r34835 ---------------------------------------- Feature #6095: Question about block parameter syntax https://bugs.ruby-lang.org/issues/6095 Author: Koichi Sasada Status: Closed Priority: Normal Assignee: Category: Target version:  ささだです. 1.times{ | x, y| } は通りますが, 1.times{ | x, y | } は通りません.閉じる | が行頭に来るのがまずいようです.これは,そういう もんでしょうか.下記のように,ブロックパラメータにコメント入れようと思っ て気づきました. 1.times{ | x, # xxx y # yyy | # <- syntax error, unexpected '\n', expecting '|' } -- // SASADA Koichi at atdot dot net -- http://bugs.ruby-lang.org/