Class: Agentilda::Executor::Result
- Inherits:
-
Data
- Object
- Data
- Agentilda::Executor::Result
- Defined in:
- lib/agentilda/executor.rb
Overview
Instance Attribute Summary collapse
-
#delegated ⇒ Integer
readonly
Of #up, how much arrived as an unsplit sub-agent total rather than as a direction of its own.
-
#down ⇒ Integer
readonly
Tokens generated.
-
#note ⇒ String
readonly
One line, for the report.
- #ok ⇒ Boolean readonly
-
#seconds ⇒ Float
readonly
Wall clock, from argv to exit.
-
#subagents ⇒ Integer
readonly
Sub-agents this agent spawned.
-
#up ⇒ Integer
readonly
Tokens sent, sub-agents included.
Instance Method Summary collapse
Instance Attribute Details
#delegated ⇒ Integer (readonly)
Returns of #up, how much arrived as an unsplit sub-agent total rather than as a direction of its own.
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
#down ⇒ Integer (readonly)
Returns tokens generated.
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
#note ⇒ String (readonly)
Returns one line, for the report.
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
#ok ⇒ Boolean (readonly)
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
#seconds ⇒ Float (readonly)
Returns wall clock, from argv to exit.
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
#subagents ⇒ Integer (readonly)
Returns sub-agents this agent spawned.
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
#up ⇒ Integer (readonly)
Returns tokens sent, sub-agents included.
44 45 46 47 |
# File 'lib/agentilda/executor.rb', line 44 Result = Data.define(:ok, :note, :up, :down, :subagents, :delegated, :seconds) do # @return [Array(Boolean, String)] def to_ary = [ok, note] end |
Instance Method Details
#to_ary ⇒ Array(Boolean, String)
46 |
# File 'lib/agentilda/executor.rb', line 46 def to_ary = [ok, note] |