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') ⇒ Object



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

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