Module: Linecook::Packager

Extended by:
Packager
Included in:
Packager
Defined in:
lib/linecook-gem/packager.rb

Instance Method Summary collapse

Instance Method Details

#package(image, name: 'packer', directory: nil) ⇒ Object


12
13
14
15
# File 'lib/linecook-gem/packager.rb', line 12

def package(image, name: 'packer', directory: nil)
  image.fetch
  provider(name.to_sym).package(image, directory)
end