From: Mathieu Bouchard Date: 2001-03-21T02:56:38+09:00 Subject: [ruby-talk:12967] Re: Passing multiple blocks to a method On Tue, 20 Mar 2001, Dave Thomas wrote: > When we get keyword arguments, a slight extension to the syntax will > also allow us to pass multiple blocks to a method: > polar_plot x: { |i| sin(i) } y: {|i| i*i } also... (x==y).if then: { foo } else: { bar } while cond: { x==y } do: { foo } try this: { x==y } rescue: FooError by: { blah } ensure: { hello } matju