Class: Pod::Specification::Set::Head

Inherits:
External show all
Defined in:
lib/cocoapods-core/specification/set.rb

Overview

The Set::Head class handles Pods in head mode. Pods in head mode don't use the Pod::Source and are initialized by a given specification.

Instance Attribute Summary

Attributes inherited from External

#specification

Attributes inherited from Pod::Specification::Set

#name, #sources

Instance Method Summary collapse

Methods inherited from External

#==, #versions

Methods inherited from Pod::Specification::Set

#==, #highest_version, #highest_version_spec_path, #specification, #specification_name, #specification_paths_for_version, #to_hash, #to_s, #versions, #versions_by_source

Constructor Details

#initialize(spec) ⇒ Head

Returns a new instance of Head.



170
171
172
173
# File 'lib/cocoapods-core/specification/set.rb', line 170

def initialize(spec)
  super
  specification.version.head = true
end