I don't have a deep understanding of ruby core base types but I want to
create the patch by myself. Where is the best place to add this
functionality (positive?, negative? method)? Fixnum? Integer? Numeric?.

2011/11/14 Anurag Priyam <anurag08priyam / gmail.com>

> 2011/11/14 Jos=E9 Francisco Calvo Moreno <josefranciscocalvo / gmail.com>:
> [...]
> > The only problem that I see is that
> >  not 0.positive? =3D> true
> > could be confusing and you may think that 0 is negative (when it is not=
).
>
> I don't think it is confusing. You are explicitly asking Ruby to
> negate the value. `not 0.even?` returns false, but 0 is even.
>
> I like the idea.
>
> --
> Anurag Priyam
>
>