Class: Packer::Binary::Configuration
- Inherits:
-
Object
- Object
- Packer::Binary::Configuration
- Defined in:
- lib/packer/binary.rb
Overview
This class holds the global configuration items
Instance Attribute Summary collapse
-
#download_path ⇒ Object
Returns the value of attribute download_path.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
68 69 70 71 |
# File 'lib/packer/binary.rb', line 68 def initialize @version = PACKER_VERSION @download_path = '/tmp' end |
Instance Attribute Details
#download_path ⇒ Object
Returns the value of attribute download_path.
66 67 68 |
# File 'lib/packer/binary.rb', line 66 def download_path @download_path end |
#version ⇒ Object
Returns the value of attribute version.
65 66 67 |
# File 'lib/packer/binary.rb', line 65 def version @version end |