From: Tim Hunter Date: 2008-01-21T03:13:37+09:00 Subject: Re: Newbie Question about Array#include? AoP wrote: > Why does the "include?" method of Array end with a question mark? I > thought the question mark was to indicate some sort of "unexpected" > behavior, such as modifying the list, but it doesn't seem to in this > case. > > Thanks - > > -James > You're thinking of !, not ?. There are no hard-and-fast rules, but typically methods that end in ? return true or false, and methods that end in ! need extra attention for one reason or another. -- RMagick: http://rmagick.rubyforge.org/ RMagick 2: http://rmagick.rubyforge.org/rmagick2.html