From: ts Date: 2001-05-29T23:09:56+09:00 Subject: [ruby-talk:15928] Re: Block arguments vs method arguments >>>>> "M" == Mike writes: M> Why aren't they arguments? or why aren't methods arguments a M> multi-assignement? a block is defined independantly of |x, y, z| not a method. M> Then I rejoin the still open (?) thread about local block vars. M> I like the notation that was proposed to have a, b and c M> local to the block. It would be nice it if these args would be defined ^^^^^^^^^^^^^^^^ M> like method arguments, and I would love it if variables created in the ^^^^^^^^^^^^^^^^^^^^^ What do you want to say with this ? M> block would be created in the caller's binding. This mean that will be equivalent to (x, y), strange why do you use a different delimitor ? Now I can write |$x, $y| the next step will be to have 'def toto($x, $y)' ? There are too many difference between variables in || and the definition of a def. Guy Decoux