Method: LaunchDr::PropertyList#dump

Defined in:
lib/launchdr/property_list.rb

#dump(path) ⇒ Object



26
27
28
29
30
# File 'lib/launchdr/property_list.rb', line 26

def dump path
  out = File.new(File.expand_path(File.join(path, @elements['Label'] + '.plist')), 'w+')
  out.puts Plist::Emit.dump @elements
  out.close
end