class Pod::Resolver::ResolverSpecification
A small container that wraps a resolved specification for a given target definition. Additional metadata is included here such as if the specification is only used by tests.
Attributes
source[R]
@return [Source] the spec repo source the specification came from
spec[R]
@return [Specification] the specification that was resolved
used_by_non_library_targets_only[R]
@return [Bool] whether this resolved specification is used by non-library targets.
used_by_non_library_targets_only?[R]
@return [Bool] whether this resolved specification is used by non-library targets.
Public Class Methods
new(spec, used_by_non_library_targets_only, source)
click to toggle source
# File lib/cocoapods/resolver/resolver_specification.rb, line 20 def initialize(spec, used_by_non_library_targets_only, source) @spec = spec @used_by_non_library_targets_only = used_by_non_library_targets_only @source = source end
Public Instance Methods
==(other)
click to toggle source
# File lib/cocoapods/resolver/resolver_specification.rb, line 34 def ==(other) self.class == other.class && spec == other.spec && used_by_non_library_targets_only? == other.used_by_non_library_targets_only? end
name()
click to toggle source
# File lib/cocoapods/resolver/resolver_specification.rb, line 26 def name spec.name end
root()
click to toggle source
# File lib/cocoapods/resolver/resolver_specification.rb, line 30 def root spec.root end