Next: , Previous: Fraction-coercion, Up: Fraction


1.81.7 Fraction: comparing

< arg
Test if the receiver is less than arg.


<= arg
Test if the receiver is less than or equal to arg.


= arg
Test if the receiver equals arg.


> arg
Test if the receiver is more than arg.


>= arg
Test if the receiver is greater than or equal to arg.


hash
Answer an hash value for the receiver