Parent

Class/Module Index [+]

Quicksearch

Object

Constants

RUBY19

Public Instance Methods

P(namespace, name = nil, type = nil) click to toggle source

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

@see YARD::CodeObjects::Proxy @see YARD::Registry.resolve

# File lib/yard/globals.rb, line 7
def P(namespace, name = nil, type = nil)
  namespace, name = nil, namespace if name.nil?
  YARD::Registry.resolve(namespace, name, false, true, type)
end
__p(path) click to toggle source

@private

# File lib/yard/autoload.rb, line 2
def __p(path) File.join(YARD::ROOT, 'yard', *path.split('/')); end
init() click to toggle source
# File lib/yard/server/templates/doc_server/library_list/html/setup.rb, line 1
def init
  sections :library_list, [:title, :contents]
end
javascripts() click to toggle source
# File lib/yard/server/templates/default/layout/html/setup.rb, line 1
def javascripts
  super + %(js/autocomplete.js)
end
log() click to toggle source

The global {YARD::Logger} instance

@return [YARD::Logger] the global {YARD::Logger} instance @see YARD::Logger

# File lib/yard/globals.rb, line 16
def log
  YARD::Logger.instance
end
search() click to toggle source
# File lib/yard/server/templates/doc_server/search/html/setup.rb, line 5
def search
  options.breadcrumb_title = h("Search for '#{@query}'")
  yieldall :contents => erb(:search)
end
stylesheets() click to toggle source
# File lib/yard/server/templates/default/layout/html/setup.rb, line 5
def stylesheets
  super + %(css/custom.css)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.