From: Eric Hodel Date: 2005-09-15T08:10:31+09:00 Subject: Re: Strange 'ambiguous arguments' warning On 14 Sep 2005, at 15:49, Nathaniel Talbott wrote: > Why does line 5 in the following program trigger the 'ambiguous first > argument; put parentheses or even spaces' warning? > > def t(a) > end > > t 'a' > t /a/ > t %r{a} > > I'm not seeing what's special about the Regexp. > Reading the other places the warning is given, I think: t / 5 / 4 -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04