class ImageBuilder::Provisioners::File
Generic class doc comment
Attributes
destination[RW]
source[RW]
type[R]
Public Class Methods
new()
click to toggle source
# File lib/image_builder/provisioners/file.rb, line 12 def initialize @type = 'file' end
Public Instance Methods
packer_hash()
click to toggle source
# File lib/image_builder/provisioners/file.rb, line 16 def packer_hash hash = { type: @type } attr_to_hash(hash, :source, true) attr_to_hash(hash, :destination, true) hash end