Class: Enumerator
- Inherits:
-
Object
- Object
- Enumerator
- Defined in:
- lib/nixenvironment/CFPropertyList228/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
412 413 414 415 416 417 418 |
# File 'lib/nixenvironment/CFPropertyList228/lib/cfpropertylist/rbCFPropertyList.rb', line 412 def to_plist(={}) [:plist_format] ||= CFPropertyList228::List::FORMAT_BINARY plist = CFPropertyList228::List.new plist.value = CFPropertyList228.guess(self, ) plist.to_str([:plist_format], ) end |