Class: OllamaAgent::Topology::Linker::Link

Inherits:
Object
  • Object
show all
Defined in:
lib/ollama_agent/topology/linker/link.rb

Overview

Superclass and mixin wiring over aggregated symbols.

Instance Method Summary collapse

Instance Method Details

#call(aggregated:, registry:) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/ollama_agent/topology/linker/link.rb', line 11

def call(aggregated:, registry:)
  assert_extractor_consistency!(aggregated)
  reg = registry.is_a?(Set) ? registry : Set.new(registry)
  {
    inheritance: inheritance_map(aggregated),
    resolved_mixin_edges: mixin_edges(aggregated, reg)
  }
end