Method: Pod::Version#==

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

#==(other) ⇒ Boolean

Note:

Attempts to compare something that’s not a Pod::Version return nil

Compares the versions for equality.

Parameters:

  • other (Version)

    The other version to compare.

Returns:

  • (Boolean)

    whether the receiver is equal to other.

[View source]

144
145
146
# File 'lib/cocoapods-core/version.rb', line 144

def ==(other)
  compare_segments(other) == 0
end