Module: YARD::AppendixPlugin::NamespaceResolver::LegacyResolver

Included in:
YARD::AppendixPlugin::NamespaceResolver
Defined in:
lib/yard-appendix/namespace_resolver.rb

Overview

Legacy YARD handler compatibility

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(b) ⇒ Object



156
157
158
159
160
161
162
163
# File 'lib/yard-appendix/namespace_resolver.rb', line 156

def self.included(b)
  log.debug "yard-appendix: namespace resolver running in legacy mode"
  
  b.instance_eval { 
    remove_method(:locate_enclosing_ns)
    include InstanceMethods
  }
end