Method: Puppet::ModuleTool::Applications::Unpacker#module_name
- Defined in:
- lib/puppet/module_tool/applications/unpacker.rb
#module_name ⇒ Object
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.
77 78 79 80 |
# File 'lib/puppet/module_tool/applications/unpacker.rb', line 77 def module_name = Puppet::Util::Json.load((root_dir + 'metadata.json').read) ['name'][/-(.*)/, 1] end |