Method: YARD::Registry.at

Defined in:
lib/yard/registry.rb

.at(path) ⇒ CodeObjects::Base? Also known as: []

Returns the object at a specific path.

Parameters:

  • path (String, :root)

    the pathname to look for. If path is root, returns the root object.

Returns:



261
# File 'lib/yard/registry.rb', line 261

def at(path) path ? thread_local_store[path] : nil end