Method: Puppet::ModuleTool::Applications::Unpacker.unpack
- Defined in:
- lib/puppet/module_tool/applications/unpacker.rb
.unpack(filename, target) ⇒ 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.
11 12 13 14 15 16 |
# File 'lib/puppet/module_tool/applications/unpacker.rb', line 11 def self.unpack(filename, target) app = new(filename, :target_dir => target) app.unpack app.sanity_check app.move_into(target) end |