class Deck::Container::Start
Public Instance Methods
build_command(deps)
click to toggle source
# File lib/deck/container/start.rb, line 16 def build_command(deps) "CMD cd #{attributes[:workdir]} && #{attributes[:command]}" end
define(type, command, workdir: '.')
click to toggle source
# File lib/deck/container/start.rb, line 6 def define(type, command, workdir: '.') attributes[:type] = type attributes[:command] = command attributes[:workdir] = workdir end
export()
click to toggle source
# File lib/deck/container/start.rb, line 12 def export attributes[:command] end