Method: Runbook::Statements::Capture#initialize

Defined in:
lib/runbook/statements/capture.rb

#initialize(cmd, into:, ssh_config: nil, raw: false, strip: true) ⇒ Capture

Returns a new instance of Capture.



5
6
7
8
9
10
11
# File 'lib/runbook/statements/capture.rb', line 5

def initialize(cmd, into:, ssh_config: nil, raw: false, strip: true)
  @cmd = cmd
  @into = into
  @ssh_config = ssh_config
  @raw = raw
  @strip = strip
end