Class: Enumerator
- Inherits:
-
Object
- Object
- Enumerator
- Defined in:
- lib/cfpropertylist/rbCFPropertyList.rb
Instance Method Summary collapse
-
#to_plist(options = {}) ⇒ Object
convert an array to plist format.
Instance Method Details
#to_plist(options = {}) ⇒ Object
convert an array to plist format
429 430 431 432 433 434 435 |
# File 'lib/cfpropertylist/rbCFPropertyList.rb', line 429 def to_plist(={}) [:plist_format] ||= CFPropertyList::List::FORMAT_BINARY plist = CFPropertyList::List.new plist.value = CFPropertyList.guess(self, ) plist.to_str([:plist_format], ) end |