From: "Hal E. Fulton" Date: 2003-01-21T08:52:40+09:00 Subject: Re: Local variable scope ----- Original Message ----- From: "Dmitri Colebatch" To: "ruby-talk ML" Sent: Monday, January 20, 2003 5:47 PM Subject: Re: Local variable scope > :D always the way.... ok, by works fine - I'm assuming the intent is > obvious (in that I expect it to return the arg multiplied by 4, or the > string "foobar!" if there is no arg passed in. :) Yes... actually I guess you'd have to default it to nil if you actually wanted it to accept NO ARGUMENT passed in: def foo(foobar=nil) Hal