"itsme213" <itsme213 / hotmail.com> schrieb im Newsbeitrag news:mXCid.17442$tL5.16841 / fe2.texas.rr.com... > Is there an equivalent of block_given? to check if the caller provided a > value to an argument that had a default value? > > Or do I have to use some sentinel value? 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? Kind regards robert