From: Yukihiro Matsumoto Date: 2007-11-05T14:24:16+09:00 Subject: Re: def blah do |x| -- alternate method definition syntax Hi, In message "Re: def blah do |x| -- alternate method definition syntax" on Mon, 5 Nov 2007 14:07:21 +0900, Joe Holt writes: |Friend wondered why a method definition couldn't be like this: | |def blah do |x| | ... |end This syntax disallows optional arguments. We can't just parse them. If you really want to define a method with block parameter style, you can do: define_method(:blah) do |x| ... end Almost same, isn't it? matz.