Sha256: e3d147b0c6be7f97bdb0fdc22aa06e03e89846661b2e42efb0f59326eeb2f921

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

# Global methods

# Shortcut for creating a YARD::CodeObjects::Proxy 
# via a path
# 
# @see YARD::CodeObjects::Proxy
# @see YARD::Registry#resolve
def P(namespace, name = nil)
  namespace, name = nil, namespace if name.nil?
  YARD::Registry.resolve(namespace, name, false, true)
end

def log
  YARD::Logger.instance
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yard-0.2.3.5 lib/yard/globals.rb
yard-0.2.3.4 lib/yard/globals.rb
yard-0.2.3.3 lib/yard/globals.rb