Class: Packer::Binary::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/packer/binary.rb

Overview

This class holds the global configuration items

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pathObject

Returns the value of attribute download_path.



66
67
68
# File 'lib/packer/binary.rb', line 66

def download_path
  @download_path
end

#versionObject

Returns the value of attribute version.



65
66
67
# File 'lib/packer/binary.rb', line 65

def version
  @version
end