lib/cocoapods-core/platform.rb
def supports?(other)
      other = Platform.new(other)
      if other.deployment_target && deployment_target
      (other.name == name) && (other.deployment_target <= deployment_target)
      else
        other.name == name
      end
    end
# Checks whether a platform supports another one.
#
# In the context of operating system SDKs, a platform supports another
# one if they have the same name and the other platform has a minor or
# equal deployment target.
#
# @return [Bool] whether the platform supports another platform.
#
Checks whether a platform supports another one.
In the context of operating system SDKs, a platform supports another
one if they have the same name and the other platform has a minor or
equal deployment target.
Checks whether a platform supports another one . In the context of operating system SDKs a platform supports another one if they have the same name and the other platform has a minor or equal deployment target .
def supports?(other)
      other = Platform.new(other)
      if other.deployment_target && deployment_target
      (other.name == name) && (other.deployment_target <= deployment_target)
      else
        other.name == name
      end
    end
def supports? ( other ) other = Platform . new ( other ) if other . deployment_target && deployment_target ( other . name == name ) && ( other . deployment_target <= deployment_target ) else other . name == name end end
Checks whether a platform supports another one.
Checks whether a platform supports another one .
whether the platform supports another platform.
whether the platform supports another platform .
Bool
other