class method
self.new
Ruby on Rails 2.9.0
Since v2.8.2 Last seen in v2.11.0Signature
self.new(hosts, port, **ssh_options)
No documentation comment.
Parameters
-
hostsreq -
portreq -
ssh_optionskeyrest
Source
# File lib/kamal/cli/build/port_forwarding.rb, line 6
def initialize(hosts, port, **ssh_options)
@hosts = hosts
@port = port
@ssh_options = ssh_options
end
Defined in lib/kamal/cli/build/port_forwarding.rb line 6
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kamal::Cli::Build::PortForwarding