class Xcodeproj::Workspace::FileReference

def self.from_node(xml_node)

Returns:
  • (FileReference) - The new file reference instance.

Parameters:
  • xml_node (REXML::Element) --
def self.from_node(xml_node)
  type, path = xml_node.attribute('location').value.split(':', 2)
  if type == 'group'
    path = prepend_parent_path(xml_node, path)
  end
  new(path, type)
end