Method: Fission::Metadata#save
- Defined in:
- lib/fission/metadata.rb
#save ⇒ Object
Public: Saves a new version of the metadata file with the data in the content variable.
Examples
.save
Returns nothing.
52 53 54 55 56 57 |
# File 'lib/fission/metadata.rb', line 52 def save new_content = CFPropertyList::List.new new_content.value = CFPropertyList.guess @content new_content.save Fission.config['plist_file'], CFPropertyList::List::FORMAT_BINARY end |