Class: Ralph::Agents::Base::ExecutionResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/ralph/agents/base.rb

Overview

Result of executing an agent process

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exit_codeObject

Returns the value of attribute exit_code

Returns:

  • (Object)

    the current value of exit_code



11
12
13
# File 'lib/ralph/agents/base.rb', line 11

def exit_code
  @exit_code
end

#stderr_textObject

Returns the value of attribute stderr_text

Returns:

  • (Object)

    the current value of stderr_text



11
12
13
# File 'lib/ralph/agents/base.rb', line 11

def stderr_text
  @stderr_text
end

#stdout_textObject

Returns the value of attribute stdout_text

Returns:

  • (Object)

    the current value of stdout_text



11
12
13
# File 'lib/ralph/agents/base.rb', line 11

def stdout_text
  @stdout_text
end

#tool_countsObject

Returns the value of attribute tool_counts

Returns:

  • (Object)

    the current value of tool_counts



11
12
13
# File 'lib/ralph/agents/base.rb', line 11

def tool_counts
  @tool_counts
end

Instance Method Details

#combined_outputObject



12
13
14
# File 'lib/ralph/agents/base.rb', line 12

def combined_output
  "#{stdout_text}\n#{stderr_text}"
end