<=>

big numeric â -1, 0, +1 or nil
Instance Public methods

ComparisonâReturns -1, 0, or +1 depending on whether big is less than, equal to, or greater than numeric. This is the basis for the tests in Comparable.

nil is returned if the two values are incomparable.

doc_ruby_on_rails
2015-03-31 11:06:01
Comments
Leave a Comment

Please login to continue.