Class: Agent::SessionContext::EvidenceCollector::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/agent/session_context/evidence_collector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#files ⇒ Object (readonly)

Returns the value of attribute files

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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