Class: PackerFiles::Provision::Copy

Inherits:
Base show all
Defined in:
lib/PackerFiles/Provision/Copy.rb

Instance Attribute Summary

Attributes inherited from Base

#os

Instance Method Summary collapse

Methods inherited from Utils::HashSerializer

hash_attributes, hash_variable, #merge_hs, #to_hash

Constructor Details

#initialize {|_self| ... } ⇒ Copy

Constructor yields self

Yields:

  • (_self)

Yield Parameters:



15
16
17
18
# File 'lib/PackerFiles/Provision/Copy.rb', line 15

def initialize(&block)
	  yield self if block_given?
	  @type = 'file'
end