Method: Puppet::ModuleTool::Metadata#dashed_name

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

#dashed_nameObject Also known as: full_module_name

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 filesystem-friendly version of this module name.



36
37
38
# File 'lib/puppet/module_tool/metadata.rb', line 36

def dashed_name
  @data['name'].tr('/', '-') if @data['name']
end