class Deck::Container::Add
Public Instance Methods
build_command(deps)
click to toggle source
# File lib/deck/container/add.rb, line 19 def build_command(deps) cmd = "ADD #{attributes[:file]} #{attributes[:path]}\n" end
define(file, path: '/')
click to toggle source
# File lib/deck/container/add.rb, line 8 def define(file, path: '/') step do attributes[:file] = file attributes[:path] = path end end
export()
click to toggle source
# File lib/deck/container/add.rb, line 15 def export attributes[:file] end