From: J2M Date: 2006-12-05T23:46:31+09:00 Subject: Re: How do I catch a missing method on a passed block? Logan Capaldo wrote: > Or you can pass a parameter into the block: > x.bar { |q| q.baz } Thanks Logan, that is what I ended up doing, I just wanted to avoid having to pass the parameter if it was at all possible. I am writing a dsl so wanted it to be as clean as possible e.g. define_stuff do this :option => "something" that :option => "something else" the_other :option => "and something else" end Thanks, James