Method: LaunchDr::PropertyList.load

Defined in:
lib/launchdr/property_list.rb

.load(filename) ⇒ Object



32
33
34
35
# File 'lib/launchdr/property_list.rb', line 32

def self.load filename
  elements = Plist::parse_xml File.new(File.expand_path filename, 'r')
  new elements[:label], elements
end