class Ariadne::Yard::Registry

documentation.
Wrapper around an instance of YARD::Registry that provides easy access to component

def entries

def entries
  @entries ||= {}
end

def find(component)

def find(component)
  return entries[component] if entries.include?(component)
  return unless (docs = yard_registry.get(component.name))
  entries[component] = RegistryEntry.new(component, docs)
end

def initialize(yard_registry)

def initialize(yard_registry)
  @yard_registry = yard_registry
end

def make

def make
  registry = ::YARD::RegistryStore.new
  registry.load!(File.expand_path(File.join("..", "..", "..", ".yardoc"), __dir__))
  new(registry)
end