class Dort::Container::Expose
Attributes
ports[R]
Public Class Methods
new(exposed_ports)
click to toggle source
# File lib/dort.rb, line 32 def initialize(exposed_ports) @ports = exposed_ports.map{|port,_|port} end
Public Instance Methods
to_s()
click to toggle source
# File lib/dort.rb, line 36 def to_s ports.join(", ") end