From: nobu.nokada@... Date: 2004-04-15T10:42:38+09:00 Subject: Re: include? needs parentheses? Hi, At Thu, 15 Apr 2004 02:34:49 +0900, Yukihiro Matsumoto wrote in [ruby-talk:97164]: > |> I can only guess: maybe it's because the line "puts([1,2,3].include? 1,2)" > |> would be amiguous? > | > |You're correct, and Gavin may be also. > > The basic rule was "when you use return values from method calls, use > parentheses". So I believe I didn't make mistake for this case. But > your expectation might be worth consideration. Understood. Then, the messages shouldn't be so? -- Nobu Nakada