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, = {}) @filename = Pathname.new(filename) super() @module_path = Pathname([:target_dir]) end |