Class: RailsAiBridge::RubydexAdapter::Indexer
- Inherits:
-
Object
- Object
- RailsAiBridge::RubydexAdapter::Indexer
- Defined in:
- lib/rails_ai_bridge/rubydex_adapter/indexer.rb
Overview
Builds the rubydex graph index from Ruby source files.
Scans a project root for +.rb+ files, excluding common non-source directories, creates a graph, indexes all matching files, and resolves references.
Constant Summary collapse
- EXCLUDED_DIRS =
%w[node_modules tmp log vendor .git .bundle].freeze
Instance Method Summary collapse
-
#build(root) ⇒ Rubydex::Graph
Builds and returns a resolved rubydex graph for the given root.