Method: Puppet::ModuleTool::Applications::Unpacker#initialize

Defined in:
lib/puppet/module_tool/applications/unpacker.rb

#initialize(filename, options = {}) ⇒ Unpacker

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 new instance of Unpacker.



27
28
29
30
31
# File 'lib/puppet/module_tool/applications/unpacker.rb', line 27

def initialize(filename, options = {})
  @filename = Pathname.new(filename)
  super(options)
  @module_path = Pathname(options[:target_dir])
end