Top Level Namespace

Defined Under Namespace

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

Global Convenience Methods collapse

Instance Method Details

#logYARD::Logger

The global YARD::Logger instance

Returns:

See Also:



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

def log
  YARD::Logger.instance
end

#P(namespace, name = nil) ⇒ Object

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