Method: Puppet::ModuleTool::Metadata#to_hash

Defined in:
lib/puppet/module_tool/metadata.rb

#to_hashObject Also known as: to_data_hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a hash of the module’s metadata. Used by Puppet’s automated serialization routines.



96
97
98
# File 'lib/puppet/module_tool/metadata.rb', line 96

def to_hash
  @data
end