Class: Pod::Specification::Set::Head
- Inherits:
-
External
- Object
- Pod::Specification::Set
- External
- Pod::Specification::Set::Head
- 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
Attributes inherited from Pod::Specification::Set
Instance Method Summary collapse
-
#initialize(spec) ⇒ Head
constructor
A new instance of Head.
Methods inherited from External
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 |