Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/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
309 310 311 312 313 314 315 |
# File 'lib/rbCFPropertyList.rb', line 309 def to_plist(={}) [:plist_format] ||= CFPropertyList::List::FORMAT_BINARY plist = CFPropertyList::List.new plist.value = CFPropertyList.guess(self, ) plist.to_str([:plist_format]) end |