Parent

Methods

Class/Module Index [+]

Quicksearch

Hash

Public Instance Methods

to_plist(options={}) click to toggle source

convert a hash to plist format

# File lib/facter/util/cfpropertylist/lib/rbCFPropertyList.rb, line 397
def to_plist(options={})
  options[:plist_format] ||= Facter::Util::CFPropertyList::List::FORMAT_BINARY

  plist = Facter::Util::CFPropertyList::List.new
  plist.value = Facter::Util::CFPropertyList.guess(self, options)
  plist.to_str(options[:plist_format])
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.