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
29 30 31 |
# File 'lib/claude_memory/audit/runner.rb', line 29 def findings @findings end |
#stats ⇒ Object (readonly)
Returns the value of attribute stats
29 30 31 |
# File 'lib/claude_memory/audit/runner.rb', line 29 def stats @stats end |
Instance Method Details
#errors ⇒ Object
30 |
# File 'lib/claude_memory/audit/runner.rb', line 30 def errors = findings.select(&:error?) |
#exit_code ⇒ Object
34 |
# File 'lib/claude_memory/audit/runner.rb', line 34 def exit_code = ok? ? 0 : 1 |
#info ⇒ Object
32 |
# File 'lib/claude_memory/audit/runner.rb', line 32 def info = findings.select(&:info?) |
#ok? ⇒ Boolean
33 |
# File 'lib/claude_memory/audit/runner.rb', line 33 def ok? = errors.empty? |
#warnings ⇒ Object
31 |
# File 'lib/claude_memory/audit/runner.rb', line 31 def warnings = findings.select(&:warn?) |