class YARD::CodeObjects::RootObject

Represents the root namespace object (the invisible Ruby module that holds all top level modules, class and other objects).

Public Instance Methods

equal?(other) click to toggle source
Calls superclass method
# File lib/yard/code_objects/root_object.rb, line 10
def equal?(other)
  other == :root ? true : super(other)
end
hash() click to toggle source
# File lib/yard/code_objects/root_object.rb, line 14
def hash; :root.hash end
inspect() click to toggle source
# File lib/yard/code_objects/root_object.rb, line 7
def inspect; @inspect ||= "#<yardoc root>" end
path() click to toggle source
# File lib/yard/code_objects/root_object.rb, line 6
def path; @path ||= "" end
root?() click to toggle source
# File lib/yard/code_objects/root_object.rb, line 8
def root?; true end
title() click to toggle source
# File lib/yard/code_objects/root_object.rb, line 9
def title; 'Top Level Namespace' end