123456789_123456789_123456789_123456789_123456789_

Top Level Namespace

Relationships & Source Files
Namespace Children
Modules:
Classes:

Constant Summary

Global Convenience Methods

Instance Method Summary

Instance Method Details

#__p(path)

This method is for internal use only.
[ GitHub ]

  
# File 'lib/yard/autoload.rb', line 3

def __p(path) File.join(YARD::ROOT, 'yard', *path.split('/')); end

#logYARD::Logger

The global ::YARD::Logger instance

Returns:

See Also:

[ GitHub ]

  
# File 'lib/yard/globals.rb', line 20

def log
  YARD::Logger.instance
end

P(namespace, name = nil, type = nil)

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

[ GitHub ]

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

def P(namespace, name = nil, type = nil) # rubocop:disable Naming/MethodName
  if name.nil?
    name = namespace
    namespace = nil
  end
  YARD::Registry.resolve(namespace, name, false, true, type)
end