class Xcodeproj::Project::Object::PBXGroup

Public Instance Methods

file_for_path(path) click to toggle source
# File lib/ext/group.rb, line 6
def file_for_path(path)
  result_file = files.find do |file|
    file.path == path
  end
  result_file = new_file(path) unless result_file
  result_file
end
group_for_path(path) click to toggle source
# File lib/ext/group.rb, line 14
def group_for_path(path)
  result_group = groups.find do |group|
    group.path == path
  end
  result_group = new_group(path, path) unless result_group
  result_group
end