Top Level Namespace

Defined Under Namespace

Modules: YARD Classes: Array, File, Hash, Insertion, Module, String, SymbolHash

Global Convenience Methods (collapse)

Instance Method Details

- (YARD::Logger) log

The global YARD::Logger instance

Returns:

See Also:



16
17
18
# File 'lib/yard/globals.rb', line 16

def log
  YARD::Logger.instance
end

- (Object) P(namespace, name = nil)

Shortcut for creating a YARD::CodeObjects::Proxy via a path



7
8
9
10
# File 'lib/yard/globals.rb', line 7

def P(namespace, name = nil)
  namespace, name = nil, namespace if name.nil?
  YARD::Registry.resolve(namespace, name, false, true)
end