class Pod::Specification::Set::External

The Set::External class handles Pods from external sources. Pods from external sources don’t use the {Source} and are initialized by a given specification.

@note External sources *don’t* support subspecs.

Attributes

specification[R]

Public Class Methods

new(spec) click to toggle source
Calls superclass method Pod::Specification::Set::new
# File lib/cocoapods-core/specification/set.rb, line 149
def initialize(spec)
  @specification = spec.root
  super(@specification.name)
end

Public Instance Methods

==(other) click to toggle source
# File lib/cocoapods-core/specification/set.rb, line 154
def ==(other)
  self.class == other.class && specification == other.specification
end
versions() click to toggle source
# File lib/cocoapods-core/specification/set.rb, line 158
def versions
  [specification.version]
end