class DockerfileRB::Expose
Attributes
port[R]
protocol[R]
Public Class Methods
new(port, protocol)
click to toggle source
# File lib/dockerfile-rb/expose.rb, line 4 def initialize(port, protocol) @port = port.to_i @protocol = (protocol || 'tcp').downcase end