class Xcodeproj::Workspace::FileReference

def to_node

Returns:
  • (REXML::Element) - the XML representation of the file reference.
def to_node
  REXML::Element.new('FileRef').tap do |element|
    element.add_attribute('location', "#{type}:#{path}")
  end
end