lib/cocoapods/sandbox/file_accessor.rb
def paths_for_attribute(attribute, include_dirs = false)
        file_patterns = spec_consumer.send(attribute)
        options = {
          :exclude_patterns => spec_consumer.exclude_files,
          :dir_pattern => glob_for_attribute(attribute),
          :include_dirs => include_dirs,
        }
        expanded_paths(file_patterns, options)
      end
# Returns the list of the paths founds in the file system for the
# attribute with given name. It takes into account any dir pattern and
# any file excluded in the specification.
#
# @param  [Symbol] attribute
#         the name of the attribute.
#
# @return [Array<Pathname>] the paths.
#
Returns the list of the paths founds in the file system for the
attribute with given name. It takes into account any dir pattern and
any file excluded in the specification.
Returns the list of the paths founds in the file system for the attribute with given name . It takes into account any dir pattern and any file excluded in the specification .
def paths_for_attribute(attribute, include_dirs = false)
        file_patterns = spec_consumer.send(attribute)
        options = {
          :exclude_patterns => spec_consumer.exclude_files,
          :dir_pattern => glob_for_attribute(attribute),
          :include_dirs => include_dirs,
        }
        expanded_paths(file_patterns, options)
      end
def paths_for_attribute ( attribute , include_dirs = false ) file_patterns = spec_consumer . send ( attribute ) options = { :exclude_patterns => spec_consumer . exclude_files , :dir_pattern => glob_for_attribute ( attribute ) , :include_dirs => include_dirs , } expanded_paths ( file_patterns , options ) end
Returns the list of the paths founds in the file system for the
attribute with given name.
Returns the list of the paths founds in the file system for the attribute with given name .
None
Array<Pathname>
attribute
include_dirs
attribute the name of the attribute.
attribute the name of the attribute .