Method: Pod::Specification#default_subspecs
- Defined in:
- lib/cocoapods-core/specification.rb
#default_subspecs ⇒ Array<String>, Symbol
Returns the name(s) of the default subspecs if provided or :none for no default subspecs.
362 363 364 365 366 367 368 369 370 371 |
# File 'lib/cocoapods-core/specification.rb', line 362 def default_subspecs # TODO: remove singular form and update the JSON specs. value = Array(attributes_hash['default_subspecs'] || attributes_hash['default_subspec']) first = value.first if first == :none || first == 'none' first.to_sym else value end end |