class Deck::Container::Env
Public Class Methods
new()
click to toggle source
# File lib/deck/container/env.rb, line 8 def initialize end
Public Instance Methods
build_command(deps)
click to toggle source
# File lib/deck/container/env.rb, line 22 def build_command(deps) "ENV #{attributes[:name]} #{attributes[:value]}" end
define(name, value)
click to toggle source
# File lib/deck/container/env.rb, line 11 def define(name, value) step do attributes[:name] = name attributes[:value] = value end end
export()
click to toggle source
# File lib/deck/container/env.rb, line 18 def export {attributes[:name].to_sym => attributes[:value]} end