Method: Git::CommandLineResult#stdout

Defined in:
lib/git/command_line_result.rb

#stdoutString (readonly)

The output of the process

Examples:

stdout = "git version 2.39.1\n"
result = Git::CommandLineResult.new($?, stdout, "")
result.stdout #=> "git version 2.39.1\n"

Returns:

  • (String)


71
72
73
# File 'lib/git/command_line_result.rb', line 71

def stdout
  @stdout
end