Method: Pod::Specification::Set::Presenter#platform
- Defined in:
- lib/cocoapods-core/specification/set/presenter.rb
#platform ⇒ String
Returns the platforms supported by the Pod.
150 151 152 153 154 155 |
# File 'lib/cocoapods-core/specification/set/presenter.rb', line 150 def platform sorted_platforms = spec.available_platforms.sort do |a, b| a.to_s.downcase <=> b.to_s.downcase end sorted_platforms.join(' - ') end |