Class: Soka::Engines::React::ReasonResult
- Inherits:
-
Struct
- Object
- Struct
- Soka::Engines::React::ReasonResult
- Defined in:
- lib/soka/engines/react.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#execution_time ⇒ Object
Returns the value of attribute execution_time.
-
#final_answer ⇒ Object
Returns the value of attribute final_answer.
-
#input ⇒ Object
Returns the value of attribute input.
-
#status ⇒ Object
Returns the value of attribute status.
-
#thoughts ⇒ Object
Returns the value of attribute thoughts.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
12 13 14 |
# File 'lib/soka/engines/react.rb', line 12 def error @error end |
#execution_time ⇒ Object
Returns the value of attribute execution_time
12 13 14 |
# File 'lib/soka/engines/react.rb', line 12 def execution_time @execution_time end |
#final_answer ⇒ Object
Returns the value of attribute final_answer
12 13 14 |
# File 'lib/soka/engines/react.rb', line 12 def final_answer @final_answer end |
#input ⇒ Object
Returns the value of attribute input
12 13 14 |
# File 'lib/soka/engines/react.rb', line 12 def input @input end |
#status ⇒ Object
Returns the value of attribute status
12 13 14 |
# File 'lib/soka/engines/react.rb', line 12 def status @status end |
#thoughts ⇒ Object
Returns the value of attribute thoughts
12 13 14 |
# File 'lib/soka/engines/react.rb', line 12 def thoughts @thoughts end |
Instance Method Details
#successful? ⇒ Boolean
14 15 16 |
# File 'lib/soka/engines/react.rb', line 14 def successful? status == :success end |