module ActiveEnumerable::Comparable
Public Instance Methods
<=>(anOther)
click to toggle source
# File lib/active_enumerable/comparable.rb, line 5 def <=>(anOther) if anOther.is_a?(Array) || self.class == anOther.class to_a <=> anOther.to_a end end