Class: Berkshelf::Packager::RelativeTarWriter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Berkshelf::Packager::RelativeTarWriter
- Defined in:
- lib/berkshelf/packager.rb
Overview
A private decorator for Minitar::Writer that turns absolute paths into relative ones.
Instance Method Summary collapse
-
#initialize(io, base_path) ⇒ RelativeTarWriter
constructor
:nodoc:.
Constructor Details
#initialize(io, base_path) ⇒ RelativeTarWriter
:nodoc:
85 86 87 88 |
# File 'lib/berkshelf/packager.rb', line 85 def initialize(io, base_path) @base_path = Pathname.new(base_path) super(Minitar::Writer.new(io)) end |