Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only define #positive? and #negative? on Ruby 2.2 | Rafael Mendonça França | 2015-05-19 | 1 | -0/+7 |
| | | | | | | | The feature was accepted and added to Ruby 2.3+ so we don't need to define it again. See https://bugs.ruby-lang.org/issues/11151 | ||||
* | Move Integer#positive? and Integer#negative? query methods to Numeric class | Mehmet Emin İNAÇ | 2015-05-13 | 1 | -0/+19 |
By this way Integer, Rational, Float, Fixnum, Bignum classes have the same behaviour |