Method: Pod::Podfile::TargetDefinition#exclusive?
- Defined in:
- lib/cocoapods-core/podfile/target_definition.rb
#exclusive? ⇒ Boolean
Note:
A target is always exclusive if it is root.
Note:
A target is always exclusive if the platform does
not match the parent's platform.
Returns whether the target definition should inherit the dependencies of the parent.
216 217 218 219 220 221 222 |
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 216 def exclusive? if root? true else !matches_platform?(parent) || (inheritance != 'complete') end end |