<=>

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

ComparisonâReturns -1, 0, +1 or nil depending on whether fix 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-04-06 22:59:16
Comments
Leave a Comment

Please login to continue.