Class: Agent::SessionContext::EvidenceCollector::Result
- Inherits:
-
Data
- Object
- Data
- Agent::SessionContext::EvidenceCollector::Result
- Defined in:
- lib/agent/session_context/evidence_collector.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
readonly
Returns the value of attribute files.
-
#tool_activity ⇒ Object
readonly
Returns the value of attribute tool_activity.
Instance Method Summary collapse
Instance Attribute Details
#files ⇒ Object (readonly)
Returns the value of attribute files
24 25 26 |
# File 'lib/agent/session_context/evidence_collector.rb', line 24 def files @files end |
#tool_activity ⇒ Object (readonly)
Returns the value of attribute tool_activity
24 25 26 |
# File 'lib/agent/session_context/evidence_collector.rb', line 24 def tool_activity @tool_activity end |
Instance Method Details
#documents ⇒ Object
25 26 27 |
# File 'lib/agent/session_context/evidence_collector.rb', line 25 def documents files.select { |item| EvidenceCollector.document_item?(item) }.freeze end |