I have just discovered Ruby's -w option, and I think it's really nifty.
However, I have many places in my code where I do this:
foo ( "this is a test" )
foo ( "this is another test" )
foobarfoo ( "this is yet another test " )
Unfortunately, this gives me a warning:
warning: foo (...) interpreted as method call
The problem is that I'm following my method name by a space before the
paren. If I remove the parens or I move the paren to be next to the
method name, the warning goes away.
Why is this a warning condition?
Paul