Class: Pod::Swift::PackageDescription::Product
- Inherits:
-
Pod::Swift::PackageDescriptionBaseObject
- Object
- Pod::Swift::PackageDescriptionBaseObject
- Pod::Swift::PackageDescription::Product
- Defined in:
- lib/cocoapods-spm/swift/package/product.rb
Instance Attribute Summary
Attributes inherited from Pod::Swift::PackageDescriptionBaseObject
Instance Method Summary collapse
Methods inherited from Pod::Swift::PackageDescriptionBaseObject
#[], #dup_with_attrs, from_file, from_s, #initialize, #inspect, #name, #pkg_name, #root
Constructor Details
This class inherits a constructor from Pod::Swift::PackageDescriptionBaseObject
Instance Method Details
#dynamic? ⇒ Boolean
7 8 9 |
# File 'lib/cocoapods-spm/swift/package/product.rb', line 7 def dynamic? @dynamic ||= raw.fetch("type", {}).fetch("library", []).include?("dynamic") end |
#target_names ⇒ Object
11 12 13 |
# File 'lib/cocoapods-spm/swift/package/product.rb', line 11 def target_names raw["targets"] end |