instance method
build_command
Ruby on Rails 2.10.1
Since v1.9.3 Last seen in v2.11.0 PrivateSignature
build_command(args, env: nil, **options)
Destructure options to pluck out env for merge
Parameters
-
argsreq -
envkey = nil -
optionskeyrest
Source
# File lib/kamal/sshkit_with_ext.rb, line 48
def build_command(args, env: nil, **options)
# Rely on native Ruby kwargs precedence rather than explicit Hash merges
SSHKit::Command.new(*args, **default_command_options, **options, env: env_for(env))
end
Defined in lib/kamal/sshkit_with_ext.rb line 48
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in SSHKit::Backend::Abstract::CommandEnvMerge