Since this thread is alive again I am throwing in my wish which occured 
to me in last months.

I wish parameters can be omited when calling methods with parameter 
which have default values set and is (are) in the middle ro begining of 
the parameter set.

Example:

def myMethod(a=1, b=2, c=3)
end
myMethod(3,,5)
myMethod(,,5)

This way I don't have to know the value of parameter b (which I am also 
not interested in) and the called method would use default defined value 
of 2.

of course if method is defined as:

def myMethod(a=1, b, c=3)
end
myMethod(3,,5)  => should throw an error.


by
TheR


-- 
Posted via http://www.ruby-forum.com/.