Module: Moult::SymbolId
- Defined in:
- lib/moult/symbol_id.rb
Overview
Builds the stable symbol id used as the cross-analysis join key:
"
Class Method Summary collapse
- .for(path:, start_line:, fqname:) ⇒ String
-
.relative_path(abs, root) ⇒ String
Path relative to root.
Class Method Details
.for(path:, start_line:, fqname:) ⇒ String
19 20 21 |
# File 'lib/moult/symbol_id.rb', line 19 def for(path:, start_line:, fqname:) "#{path}:#{start_line}:#{fqname}" end |