lib/cocoapods-core/source.rb
# Returns pod names for given array of specification paths.
#
# @param  [Array<String>] spec_paths
#         Array of file path names for specifications. Path strings should be relative to the source path.
#
# @return [Array<String>] the list of the name of Pods corresponding to specification paths.
#
Returns pod names for given array of specification paths.
Returns pod names for given array of specification paths .
def pods_for_specification_paths(spec_paths)
      spec_paths.map do |path|
        absolute_path = repo + path
        relative_path = absolute_path.relative_path_from(specs_dir)
        relative_path.each_filename.first
      end
    end
def pods_for_specification_paths ( spec_paths ) spec_paths . map do | path | absolute_path = repo + path relative_path = absolute_path . relative_path_from ( specs_dir ) relative_path . each_filename . first end end
Returns pod names for given array of specification paths.
Returns pod names for given array of specification paths .
# The first file name returned by 'each_filename' is the pod name
the list of the name of Pods corresponding to specification paths.
the list of the name of Pods corresponding to specification paths .
Array<String>
spec_paths
<not_specific>
<not_specific>
spec_paths Array of file path names for specifications. Path strings should be relative to the source path.
spec_paths Array of file path names for specifications . Path strings should be relative to the source path .