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_tests_only[R]
@return [Bool] whether this resolved specification is only used by tests.
used_by_tests_only?[R]
@return [Bool] whether this resolved specification is only used by tests.
Public Class Methods
new(spec, used_by_tests_only, source)
click to toggle source
# File lib/cocoapods/resolver.rb, line 32 def initialize(spec, used_by_tests_only, source) @spec = spec @used_by_tests_only = used_by_tests_only @source = source end
Public Instance Methods
==(other)
click to toggle source
# File lib/cocoapods/resolver.rb, line 46 def ==(other) self.class == other && spec == other.spec && used_by_tests_only == other.test_only end
name()
click to toggle source
# File lib/cocoapods/resolver.rb, line 38 def name spec.name end
root()
click to toggle source
# File lib/cocoapods/resolver.rb, line 42 def root spec.root end