Class: ClaudeMemory::Audit::Runner::Result
- Inherits:
-
Data
- Object
- Data
- ClaudeMemory::Audit::Runner::Result
- Defined in:
- lib/claude_memory/audit/runner.rb
Instance Attribute Summary collapse
-
#findings ⇒ Object
readonly
Returns the value of attribute findings.
-
#stats ⇒ Object
readonly
Returns the value of attribute stats.
Instance Method Summary collapse
Instance Attribute Details
#findings ⇒ Object (readonly)
Returns the value of attribute findings
25 26 27 |
# File 'lib/claude_memory/audit/runner.rb', line 25 def findings @findings end |
#stats ⇒ Object (readonly)
Returns the value of attribute stats
25 26 27 |
# File 'lib/claude_memory/audit/runner.rb', line 25 def stats @stats end |
Instance Method Details
#errors ⇒ Object
26 |
# File 'lib/claude_memory/audit/runner.rb', line 26 def errors = findings.select(&:error?) |
#exit_code ⇒ Object
30 |
# File 'lib/claude_memory/audit/runner.rb', line 30 def exit_code = ok? ? 0 : 1 |
#info ⇒ Object
28 |
# File 'lib/claude_memory/audit/runner.rb', line 28 def info = findings.select(&:info?) |
#ok? ⇒ Boolean
29 |
# File 'lib/claude_memory/audit/runner.rb', line 29 def ok? = errors.empty? |
#warnings ⇒ Object
27 |
# File 'lib/claude_memory/audit/runner.rb', line 27 def warnings = findings.select(&:warn?) |