From: Peter Lynch Date: 2007-01-03T00:31:00+09:00 Subject: Detecting default used in method calls I would like to know if a function has been called with or without an optional argument. If I have - def the_Function (a, b = '') end and I invoke it like this - the_Function('a') the_Function('a', '') is there any way for me to tell within the_Function which form of invocation was used? -- Posted via http://www.ruby-forum.com/.