Class: Pod::Specification::Set::External
Instance Attribute Summary
#pod_dir
Instance Method Summary
collapse
#==, by_pod_dir, by_specification_name, #dependency, #required_version, sets, #to_s
Constructor Details
#initialize(specification) ⇒ External
Returns a new instance of External.
86
87
88
89
|
# File 'lib/cocoapods/specification/set.rb', line 86
def initialize(specification)
@specification = specification
@required_by = []
end
|
Instance Method Details
#name ⇒ Object
91
92
93
|
# File 'lib/cocoapods/specification/set.rb', line 91
def name
@specification.name
end
|
#only_part_of_other_pod? ⇒ Boolean
102
103
104
|
# File 'lib/cocoapods/specification/set.rb', line 102
def only_part_of_other_pod?
false
end
|
#required_by(specification) ⇒ Object
95
96
97
98
99
100
|
# File 'lib/cocoapods/specification/set.rb', line 95
def required_by(specification)
before = @specification
super(specification)
ensure
@specification = before
end
|
#specification ⇒ Object
110
111
112
|
# File 'lib/cocoapods/specification/set.rb', line 110
def specification
@specification
end
|
#specification_path ⇒ Object
106
107
108
|
# File 'lib/cocoapods/specification/set.rb', line 106
def specification_path
raise "specification_path"
end
|
#versions ⇒ Object
114
115
116
|
# File 'lib/cocoapods/specification/set.rb', line 114
def versions
[@specification.version]
end
|