Method: PM::PatchMaster#save

Defined in:
lib/patchmaster/patchmaster.rb

#save(file) ⇒ Object



75
76
77
78
79
80
# File 'lib/patchmaster/patchmaster.rb', line 75

def save(file)
  DSL.new.save(file)
  @loaded_file = file
rescue => ex
  raise("error saving #{file}: #{ex}" + caller.join("\n"))
end