Method: Fixtury::Configuration#dump_file

Defined in:
lib/fixtury/configuration.rb

#dump_fileObject

Dump the current state of the dependency manager to the storage file.



67
68
69
70
71
72
# File 'lib/fixtury/configuration.rb', line 67

def dump_file
  return unless filepath

  FileUtils.mkdir_p(File.dirname(filepath))
  File.binwrite(filepath, file_data.to_yaml)
end