Module: Packer::Binary::Command
- Defined in:
- lib/packer/binary/command.rb
Class Method Summary collapse
Class Method Details
.binary ⇒ Object
10 11 12 13 14 |
# File 'lib/packer/binary/command.rb', line 10 def binary e = Executable.new e.download e.binary end |
.run(command) ⇒ Object
6 7 8 |
# File 'lib/packer/binary/command.rb', line 6 def run(command) system("#{binary} #{command}") end |