Class: ClaudeOnRails::ProjectAnalyzer
- Inherits:
-
Object
- Object
- ClaudeOnRails::ProjectAnalyzer
- Defined in:
- lib/claude_on_rails/project_analyzer.rb
Instance Attribute Summary collapse
-
#root_path ⇒ Object
readonly
Returns the value of attribute root_path.
Instance Method Summary collapse
- #analyze ⇒ Object
-
#initialize(root_path) ⇒ ProjectAnalyzer
constructor
A new instance of ProjectAnalyzer.
Constructor Details
#initialize(root_path) ⇒ ProjectAnalyzer
Returns a new instance of ProjectAnalyzer.
7 8 9 |
# File 'lib/claude_on_rails/project_analyzer.rb', line 7 def initialize(root_path) @root_path = root_path end |
Instance Attribute Details
#root_path ⇒ Object (readonly)
Returns the value of attribute root_path.
5 6 7 |
# File 'lib/claude_on_rails/project_analyzer.rb', line 5 def root_path @root_path end |
Instance Method Details
#analyze ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/claude_on_rails/project_analyzer.rb', line 11 def analyze { api_only: api_only?, test_framework: detect_test_framework, has_graphql: graphql?, has_turbo: turbo?, has_devise: devise?, has_sidekiq: sidekiq?, javascript_framework: detect_javascript_framework, database: detect_database, deployment: detect_deployment_method, custom_patterns: detect_custom_patterns } end |