Module: YARD::Registry

Defined in:
lib/puppet_x/puppetlabs/strings/yard/monkey_patches.rb

Overview

15:04:42 radens | lsegal: where would you tell yard to use your custom RegistryStore? 15:09:54 @lsegal | github.com/lsegal/yard/blob/master/lib/yard/registry.rb#L428-L435 15:09:54 @lsegal | you would set that attr on Registry 15:09:54 @lsegal | it might be worth expanding that API to swap out the store class used 15:10:49 @lsegal | specifically

| https://github.com/lsegal/yard/blob/master/lib/yard/registry.rb#L190 and
| replace RegistryStore there with a storage_class attr

Class Method Summary collapse

Class Method Details

.clearObject



64
65
66
# File 'lib/puppet_x/puppetlabs/strings/yard/monkey_patches.rb', line 64

def clear
  self.thread_local_store = YARD::JsonRegistryStore.new
end