Class: RailsAiBridge::Registry::SourceParser::ParsedSource
- Inherits:
-
Data
- Object
- Data
- RailsAiBridge::Registry::SourceParser::ParsedSource
- Defined in:
- lib/rails_ai_bridge/registry/source_parser.rb
Overview
Immutable value object produced by parse.
Instance Attribute Summary collapse
-
#resolved_url ⇒ String
readonly
Canonical URL/path suitable for git clone or direct use.
-
#type ⇒ Symbol
readonly
:local_path,:git_url, or:github_shorthand.
Instance Attribute Details
#resolved_url ⇒ String (readonly)
Returns canonical URL/path suitable for git clone or direct use.
31 |
# File 'lib/rails_ai_bridge/registry/source_parser.rb', line 31 ParsedSource = Data.define(:type, :resolved_url) |
#type ⇒ Symbol (readonly)
Returns :local_path, :git_url, or :github_shorthand.
31 |
# File 'lib/rails_ai_bridge/registry/source_parser.rb', line 31 ParsedSource = Data.define(:type, :resolved_url) |