Method: YARD::Registry.paths

Defined in:
lib/yard/registry.rb

.paths(reload = false) ⇒ Array<String>

Returns the paths of all of the objects in the registry.

Parameters:

  • reload (Boolean) (defaults to: false)

    whether to load entire database

Returns:

  • (Array<String>)

    all of the paths in the registry.



252
253
254
# File 'lib/yard/registry.rb', line 252

def paths(reload = false)
  thread_local_store.keys(reload).map(&:to_s)
end