Method: Gitlab::QA::Support::ShellCommand#initialize
- Defined in:
- lib/gitlab/qa/support/shell_command.rb
#initialize(command = nil, stdin_data: nil, mask_secrets: nil, stream_output: false) ⇒ ShellCommand
Shell command
19 20 21 22 23 24 25 26 |
# File 'lib/gitlab/qa/support/shell_command.rb', line 19 def initialize(command = nil, stdin_data: nil, mask_secrets: nil, stream_output: false) @command = command @mask_secrets = Array(mask_secrets) @stream_output = stream_output @output = [] @logger = Runtime::Logger.logger @stdin_data = stdin_data end |