lib/cocoapods/sandbox/file_accessor.rb
# Returns the pattern to use to glob a directory for an attribute.
#
# @param  [Symbol] attribute
#         the name of the attribute
#
# @return [String] the glob pattern.
#
# @todo   Move to the cocoapods-core so it appears in the docs?
#
Returns the pattern to use to glob a directory for an attribute.
Returns the pattern to use to glob a directory for an attribute .
def glob_for_attribute(attrbute)
        globs = {
          :source_files => '*.{h,hpp,hh,m,mm,c,cpp}'.freeze,
          :public_header_files => "*.{#{ HEADER_EXTENSIONS * ',' }}".freeze,
        }
        globs[attrbute]
      end
def glob_for_attribute ( attrbute ) globs = { :source_files => '*.{h,hpp,hh,m,mm,c,cpp}' . freeze , :public_header_files => "*.{#{ HEADER_EXTENSIONS * ',' }}" . freeze , } globs [ attrbute ] end
Returns the pattern to use to glob a directory for an attribute.
Returns the pattern to use to glob a directory for an attribute .
the glob pattern.
the glob pattern .
String
attrbute
attribute the name of the attribute
attribute the name of the attribute
todo
None