instance method build_command

Ruby on Rails 2.4.0

Since v1.9.3 Last seen in v2.11.0 Private

Available in: v1.9.3 v2.0.0 v2.1.2 v2.2.2 v2.3.0 v2.4.0 v2.5.3 v2.6.1 v2.7.0 v2.8.2 v2.9.0 v2.10.1 v2.11.0

Signature

build_command(args, env: nil, **options)

Destructure options to pluck out env for merge

Parameters

args req
env key = nil
options keyrest
Source
# File lib/kamal/sshkit_with_ext.rb, line 44
    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 44 · View on GitHub · Improve this page · Find usages on GitHub

Defined in SSHKit::Backend::Abstract::CommandEnvMerge

Type at least 2 characters to search.

↑↓ navigate · open · esc close