Sha256: a15c5564e31e50233d2ef6ace34092d262d9a282668b490483cee8027d561919

Contents?: true

Size: 473 Bytes

Versions: 71

Compression:

Stored size: 473 Bytes

Contents

# @group Global Convenience Methods

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

# The global {YARD::Logger} instance
#
# @return [YARD::Logger] the global {YARD::Logger} instance
# @see YARD::Logger
def log
  YARD::Logger.instance
end

Version data entries

71 entries across 56 versions & 8 rubygems

Version Path
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/lib/yard/globals.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/lib/yard/globals.rb
yard-0.9.5 lib/yard/globals.rb
yard-0.9.4 lib/yard/globals.rb
yard-0.9.3 lib/yard/globals.rb
yard-0.9.2 lib/yard/globals.rb
yard-0.9.1 lib/yard/globals.rb
yard-0.9.0 lib/yard/globals.rb
yard-0.8.7.6 lib/yard/globals.rb
yard-0.8.7.5 lib/yard/globals.rb
climine-0.0.7 vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/globals.rb
climine-0.0.7 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
climine-0.0.6 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
climine-0.0.5 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
yard-0.8.7.4 lib/yard/globals.rb
climine-0.0.4 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
climine-0.0.3 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/globals.rb
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb