class Xcodeproj::Project::Object::PBXFileReference
This class represents a reference to a file in the file system.
def build_files
-
(Array- the build files associated with the)
def build_files referrers.select { |r| r.class == PBXBuildFile } end
def display_name
-
(String)- the name of the file taking into account the path if
def display_name name || File.basename(path) end
def group
-
(PBXGroup)- the group that contains the current file reference.
def group referrers.select { |r| r.class == PBXGroup }.first end
def pathname
-
(Pathname)- the path of the file.
def pathname Pathname.new(path) end
def update_last_known_file_type
-
(String)- the computed file type.
def update_last_known_file_type self.last_known_file_type = Constants::FILE_TYPES_BY_EXTENSION[pathname.extname[1..-1]] end