Class: Aidp::ToolingDetector::Result
- Inherits:
-
Struct
- Object
- Struct
- Aidp::ToolingDetector::Result
- Defined in:
- lib/aidp/tooling_detector.rb
Overview
Enhanced result with framework information
Instance Attribute Summary collapse
-
#formatter_commands ⇒ Object
Returns the value of attribute formatter_commands.
-
#frameworks ⇒ Object
Returns the value of attribute frameworks.
-
#lint_commands ⇒ Object
Returns the value of attribute lint_commands.
-
#test_commands ⇒ Object
Returns the value of attribute test_commands.
Instance Method Summary collapse
-
#framework_for_command(command) ⇒ Object
Get the framework for a specific command.
-
#test_command_frameworks ⇒ Object
Get test commands with their detected framework.
Instance Attribute Details
#formatter_commands ⇒ Object
Returns the value of attribute formatter_commands
30 31 32 |
# File 'lib/aidp/tooling_detector.rb', line 30 def formatter_commands @formatter_commands end |
#frameworks ⇒ Object
Returns the value of attribute frameworks
30 31 32 |
# File 'lib/aidp/tooling_detector.rb', line 30 def frameworks @frameworks end |
#lint_commands ⇒ Object
Returns the value of attribute lint_commands
30 31 32 |
# File 'lib/aidp/tooling_detector.rb', line 30 def lint_commands @lint_commands end |
#test_commands ⇒ Object
Returns the value of attribute test_commands
30 31 32 |
# File 'lib/aidp/tooling_detector.rb', line 30 def test_commands @test_commands end |
Instance Method Details
#framework_for_command(command) ⇒ Object
Get the framework for a specific command
38 39 40 |
# File 'lib/aidp/tooling_detector.rb', line 38 def framework_for_command(command) test_command_frameworks[command] || :unknown end |
#test_command_frameworks ⇒ Object
Get test commands with their detected framework
33 34 35 |
# File 'lib/aidp/tooling_detector.rb', line 33 def test_command_frameworks @test_command_frameworks ||= {} end |