Class: XcodeMove::ProjectCache

Inherits:
Object
  • Object
show all
Defined in:
lib/xcmv/project_cache.rb

Constant Summary collapse

@@cache =
Hash.new

Class Method Summary collapse

Class Method Details

.open(path) ⇒ Object



6
7
8
9
# File 'lib/xcmv/project_cache.rb', line 6

def self.open(path)
  path = Pathname.new(path).realpath
  @@cache[path] ||= Xcodeproj::Project.open(path)
end