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