Method: YARD::Registry.load_all

Defined in:
lib/yard/registry.rb

.load_allRegistry

Forces all objects cached on disk into memory

Examples:

Loads all objects from disk

Registry.load
Registry.all.count #=> 0
Registry.load_all
Registry.all.count #=> 17

Returns:

  • (Registry)

    the registry object (for chaining)

Since:

  • 0.5.1



159
160
161
162
# File 'lib/yard/registry.rb', line 159

def load_all
  thread_local_store.load_all
  self
end