Method: Fission::Metadata#load

Defined in:
lib/fission/metadata.rb

#loadObject

Public: Reads the configured metadata file and populates the content variable with native ruby types.

Examples

.load

Returns nothing.



39
40
41
42
# File 'lib/fission/metadata.rb', line 39

def load
  raw_data = CFPropertyList::List.new :file => Fission.config['plist_file']
  @content = CFPropertyList.native_types raw_data.value
end