From: Gavin Sinclair Date: 2004-10-05T00:07:57+09:00 Subject: Re: Too Many Ways? On Tuesday, October 5, 2004, 1:02:04 AM, trans. wrote: > But following your preference to its logical conclusion: > def foo(a=nil, b=nil, &c=nil) > a ||= "foo" > b ||= "bar" > c ||= lambda { |x| ... } > ... > end In that case: def foo(a="foo", b="bar", &c=nil) c ||= lambda { |x| ... } ... end I've no problem with default values appearing in the method signature, but overly long default values, in my style, get relegated to the method body. Gavin