Method: Bup::Config#save

Defined in:
lib/bup/config.rb

#save(file) ⇒ Object



36
37
38
39
40
# File 'lib/bup/config.rb', line 36

def save(file)
  File.open(file, "w") do |io|
    io.write(YAML.dump(@config))
  end
end