class Pod::Requirement
A Requirement
is a set of one or more version restrictions of a {Dependency}.
It is based on the RubyGems class adapted to support CocoaPods specific information.
@todo Move support about external sources and head information here from
the Dependency class.
Public Instance Methods
eql?(other)
click to toggle source
module Pod::Specification::Set
- all_specifications 如上所示,当requirement做为key的时候,实际上只需要requirements的内容是一样既可以认为是一样的,而不需要整个Requirement的对象一样
# File lib/cocoapods-pdk8/hook/requirement.rb, line 14 def eql? other @requirements.eql? other.requirements end