Method: Packer::Binary::Command.binary

Defined in:
lib/packer/binary/command.rb

.binaryString

Downloads, extracts and returns the path to the binary

Returns:

  • (String)

    absolute path of the binary



20
21
22
23
24
25
# File 'lib/packer/binary/command.rb', line 20

def binary
  e = Executable.new
  e.download
  e.extract
  e.binary
end