On Fri, Aug 22, 2008 at 4:51 AM, Pe, Botp <botp / delmonte-phil.com> wrote:
> From: Iki Baz Castillo [mailto:ibc / aliax.net]
> # > num.between?(1,4)
> #
> # Great, I didn't know!  :)
>
> careful. it just test the boundaries.
The same warning holds for Range#include? of course
>
>> 2.5.between?(1,4)
> => true
(1..4).include? 2.5
=> true
R.

http://ruby-smalltalk.blogspot.com/

There's no one thing that's true. It's all true.
--
Ernest Hemingway