From: CHubas Date: 2007-06-19T10:20:08+09:00 Subject: Re: Syntax error with blocks On Jun 18, 3:11 am, ole __ wrote: > Cool. I'm guessing something like this: > > 1.times { puts 'foo' } > > or > > lamba { puts 'foo' }.call > > is never really used but could be used to achieve block scope. If you want a more block like behavior, use begin/end begin puts 'Hello from block' end