Class: PlistDumper

Inherits:
Dumper show all
Defined in:
lib/xcode-yamlizer/dumpers.rb

Instance Method Summary collapse

Methods inherited from Dumper

#initialize

Constructor Details

This class inherits a constructor from Dumper

Instance Method Details

#dump(object) ⇒ Object



19
20
21
# File 'lib/xcode-yamlizer/dumpers.rb', line 19

def dump(object)
  OSX::PropertyList.dump_file(@filename, object, :xml1)
end

#loadObject



22
23
24
# File 'lib/xcode-yamlizer/dumpers.rb', line 22

def load()
  return OSX::PropertyList.load_file(@filename)
end