Method: YARD::RegistryResolver#initialize
- Defined in:
- lib/yard/registry_resolver.rb
#initialize(registry = Registry) ⇒ RegistryResolver
Creates a new resolver object for a registry.
16 17 18 19 20 21 22 |
# File 'lib/yard/registry_resolver.rb', line 16 def initialize(registry = Registry) @registry = registry @default_sep = nil # Preload all code objects for separator declarations YARD::CodeObjects.constants.map {|t| YARD::CodeObjects.const_get(t) } end |