Class: PackerFiles::Provision::Copy
- Inherits:
-
Base
- Object
- Utils::HashSerializer
- Base
- PackerFiles::Provision::Copy
- Defined in:
- lib/PackerFiles/Provision/Copy.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Copy
constructor
Constructor yields self.
Methods inherited from Utils::HashSerializer
hash_attributes, hash_variable, #merge_hs, #to_hash
Constructor Details
#initialize {|_self| ... } ⇒ Copy
Constructor yields self
15 16 17 18 |
# File 'lib/PackerFiles/Provision/Copy.rb', line 15 def initialize(&block) yield self if block_given? @type = 'file' end |