class Xcodeproj::Project::Object::PBXProject
This class represents the root object of a project document.
def ascii_plist_annotation
def ascii_plist_annotation ' Project object ' end
def name
def name project.path.basename('.xcodeproj').to_s end
def to_ascii_plist
def to_ascii_plist plist = super plist.value.delete('projectReferences') if plist.value['projectReferences'].empty? plist.value.delete('packageReferences') if !plist.value['packageReferences'].nil? && plist.value['packageReferences'].empty? plist end
def to_hash_as(method = :to_hash)
def to_hash_as(method = :to_hash) hash_as = super if !hash_as['packageReferences'].nil? && hash_as['packageReferences'].empty? hash_as.delete('packageReferences') if !hash_as['packageReferences'].nil? && hash_as['packageReferences'].empty? end hash_as end