From: itsme213 Date: 2004-11-06T00:08:42+09:00 Subject: Re: value provided for argument with default value - how to check inside method? "Robert Klemme" wrote > I'm unsure what you're at. Normally the idea of having a default value is > that you don't have to worry about where it came from: > > def foo(x=10) > puts x > end > > Care to unveil a bit more detail why you would need that piece of > information? In this case, I want to use foo() and foo(x) as getter and setter respectively i.e. some form of overloading.