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

Inherits:
External
  • Object
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

Instance Method Summary collapse

Methods inherited from External

#==, #versions

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