Class: PodfileLock::PodfileLockManager

Inherits:
Object
  • Object
show all
Defined in:
lib/podfileDep/podfilelock.rb

Class Method Summary collapse

Class Method Details

.podfile_lock_contentObject

读取podfile.lock



7
8
9
10
11
12
13
14
15
# File 'lib/podfileDep/podfilelock.rb', line 7

def self.podfile_lock_content
  podfile_lock = MyConstants::PODFILE_LOCK

  unless File.exist?(podfile_lock)
    return {}
  end

  YAML.load_file(podfile_lock)
end