Method: Pod::Source#<=>

Defined in:
lib/cocoapods-core/source.rb

#<=>(other) ⇒ Integer

Note:

Source are compared by the alphabetical order of their name, and this convention should be used in any case where sources need to be disambiguated.

Returns compares a source with another one for sorting purposes.

Returns:

  • (Integer)

    compares a source with another one for sorting purposes.



73
74
75
# File 'lib/cocoapods-core/source.rb', line 73

def <=>(other)
  name <=> other.name
end