lib/cocoapods-core/specification/set/statistics.rb
def save_cache
          if cache_file
            yaml = YAML.dump(cache)
            File.open(cache_file, 'w') { |f| f.write(yaml) }
          end
        end
# Saves the in-memory cache to the path of cache file if specified.
#
# @return [void]
#
Saves the in-memory cache to the path of cache file if specified.
Saves the in - memory cache to the path of cache file if specified .
def save_cache
          if cache_file
            yaml = YAML.dump(cache)
            File.open(cache_file, 'w') { |f| f.write(yaml) }
          end
        end
def save_cache if cache_file yaml = YAML . dump ( cache ) File . open ( cache_file , 'w' ) { | f | f . write ( yaml ) } end end
Saves the in-memory cache to the path of cache file if specified.
Saves the in - memory cache to the path of cache file if specified .
None
void