From: ts Date: 2001-09-27T13:56:31+09:00 Subject: [ruby-talk:21759] Re: scope in {} and do-end >>>>> "H" == Hal E Fulton writes: H> The difference between do and braces are: H> Braces has stronger precedence. For example: H> foobar a, b do .. end # foobar will be called with the block. H> foobar a, b { .. } # b will be called with the block. the difference is only on precedence. pigeon% ./ruby -v ruby 1.1b9(98/02/27) [i686-linux] pigeon% pigeon% ./ruby [1].each do x = 2 end p defined? x ^D false pigeon% Guy Decoux