disu.se

ComparableModule

Namespace

Value

Ancestors
  1. Comparable

Module included by Module#Value when passed the :comparable option.

Instance Methods

<=>(otherComparable)Integer?#

Returns the first non-zero comparison of the Attributes#comparable values of the receiver with those of other (zero if they’re all equal), or nil if the #class of the receiver doesn’t #== that of other.

eql?Boolean#

This is an alias for #==.