class Enumerator
Public Instance Methods
to_plist(options={})
click to toggle source
convert an array to plist format
# File lib/cfpropertylist/rbCFPropertyList.rb, line 428 def to_plist(options={}) options[:plist_format] ||= CFPropertyList::List::FORMAT_BINARY plist = CFPropertyList::List.new plist.value = CFPropertyList.guess(self, options) plist.to_str(options[:plist_format], options) end