In message "[ruby-talk:01162] Possible bug in ruby-man-1.4"
on 00/01/21, Dave Thomas <Dave / thomases.com> writes:
|I'm probably wrong (again), but doesn't
|
| -13.remainder(-4)
|
|parse as
|
| -(13.remainder(4))
|
|not
|
| (-13).remainder(4)
You are right. I'd like to hear your opinion about this.
-13.remainder(4) => (-13).remainder(4) or -(13.remainder(4))
-foo.remainder(4) => (-foo).remainder(4) or -(foo.remainder(4))