Class: Pod::Swift::PackageDescription::Resources

Inherits:
Pod::Swift::PackageDescriptionBaseObject show all
Defined in:
lib/cocoapods-spm/swift/package/resources.rb

Instance Attribute Summary

Attributes inherited from Pod::Swift::PackageDescriptionBaseObject

#parent, #raw

Instance Method Summary collapse

Methods inherited from Pod::Swift::PackageDescriptionBaseObject

#[], #dup_with_attrs, from_file, from_s, #initialize, #inspect, #pkg_name, #root

Constructor Details

This class inherits a constructor from Pod::Swift::PackageDescriptionBaseObject

Instance Method Details

#built_resource_pathObject



11
12
13
# File 'lib/cocoapods-spm/swift/package/resources.rb', line 11

def built_resource_path
  "${PODS_CONFIGURATION_BUILD_DIR}/#{name}.bundle"
end

#nameObject



7
8
9
# File 'lib/cocoapods-spm/swift/package/resources.rb', line 7

def name
  "#{pkg_name}_#{parent.name}"
end