From: Shusaku Date: 2001-07-12T09:56:00+09:00 Subject: [ruby-talk:17680] Re: Ruby warnings Hi, In message "[ruby-talk:17674] Ruby warnings", Paul Brannan wrote: > 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? def foo(x); x + 2; end p foo(( 4 + 6 ) / 2) #=> 7 p foo ( 4 + 6 ) / 2 #=> 6 ( warning! ) make sense? I think someone would have more essential example. -- Shusaku