From: MonkeeSage Date: 2007-11-24T11:35:02+09:00 Subject: Re: Create method using define_method with all sort of args? On Nov 23, 2:23 pm, "ara.t.howard" wrote: > define_method 'new_method' do |some_param, *argv| > options, *argv = argv > options ||= {} > > ... > end Ara, Isn't that dangerous in case new_method is called like: a.new_method("a", other, args) ...where the optional 'option' arg is left out? It seems that your version would consume the 'other' operand in that case. I think you'd need to do something like I posted above to be safe. Regards, Joran