lib/cocoapods-core/source.rb
# Returns the set of the Pod whose name fuzzily matches the given query.
#
# @param  [String] query
#         The query to search for.
#
# @return [Set] The name of the Pod.
# @return [Nil] If no Pod with a suitable name was found.
#
Returns the set of the Pod whose name fuzzily matches the given query.
Returns the set of the Pod whose name fuzzily matches the given query .
def fuzzy_search(query)
      require 'fuzzy_match'
      pod_name = FuzzyMatch.new(pods).find(query)
      if pod_name
        search(pod_name)
      end
    end
def fuzzy_search ( query ) require 'fuzzy_match' pod_name = FuzzyMatch . new ( pods ) . find ( query ) if pod_name search ( pod_name ) end end
Returns the set of the Pod whose name fuzzily matches the given query.
Returns the set of the Pod whose name fuzzily matches the given query .
The name of the Pod.
The name of the Pod .
Set
If no Pod with a suitable name was found.
If no Pod with a suitable name was found .
Nil
query
<not_specific>
<not_specific>
query The query to search for.
query The query to search for .