Hi.

I want to dynamically create (i'm trying to use define_method) a
method using which has default values for it's parameters.  However
when I try to do:

    define_method "name" lambda { |x=1,y=2,z=3| f(x,y,z) }

I get a syntax error on the x=1 part.   Am I just using the wrong
syntax?  Or is it really not possible to create methods with default
parameter values dynamically?

Regards,

Matt

-- 
Matt Mower :: http://matt.blogs.it/