class Xcodeproj::XCScheme

def to_s

Returns:
  • (String) - the XML string value of the current state of the object.

Other tags:
    Note: - The goal of the string representation is to match Xcode output as
def to_s
  formatter = XMLFormatter.new(2)
  formatter.compact = false
  out = ''
  formatter.write(@doc, out)
  out.gsub!("<?xml version='1.0' encoding='UTF-8'?>", '<?xml version="1.0" encoding="UTF-8"?>')
  out << "\n"
  out
end