lib/fig/lock.rb
# Install images from a lock file on the local system
Install images from a lock file on the local system
Install images from a lock file on the local system
def install
if File.exists?(lock_file)
  log.info "Lock file #{lock_file} found."
fetch_images(YAML.load(File.read(lock_file)))
  else
  log.info "No lock file found."
  update
  end
  end
def install if File . exists? ( lock_file ) log . info "Lock file #{lock_file} found." fetch_images ( YAML . load ( File . read ( lock_file ) ) ) else log . info "No lock file found." update end end
Install images from a lock file on the local system
Install images from a lock file on the local system