class Deck::Container::Expose

Public Instance Methods

build_command(deps) click to toggle source
# File lib/deck/container/expose.rb, line 14
def build_command(deps)
  "EXPOSE #{export.join(' ')}"
end
define(*ports) click to toggle source
# File lib/deck/container/expose.rb, line 6
def define(*ports)
  attributes[:port] = ports
end
export() click to toggle source
# File lib/deck/container/expose.rb, line 10
def export
  attributes[:port]
end