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
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb
yard-0.8.7.3 lib/yard/globals.rb
yard-0.8.7.2 lib/yard/globals.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/yard-0.8.7/lib/yard/globals.rb
candlepin-api-0.4.0 bundle/ruby/gems/yard-0.8.7/lib/yard/globals.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/yard-0.8.7/lib/yard/globals.rb
yard-0.8.7.1 lib/yard/globals.rb
yard-0.8.7 lib/yard/globals.rb
challah-1.0.0 vendor/bundle/gems/yard-0.8.6.1/lib/yard/globals.rb
yard-0.8.6.2 lib/yard/globals.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6.1/lib/yard/globals.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.5.2/lib/yard/globals.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6/lib/yard/globals.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/globals.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/globals.rb
yard-0.8.6.1 lib/yard/globals.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.5.2/lib/yard/globals.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.6/lib/yard/globals.rb
yard-0.8.6 lib/yard/globals.rb