Sha256: 97274e9aba451989fc4b04649917367145f4649cbb13fbe4ac7d6cc981b05bd7
Contents?: true
Size: 504 Bytes
Versions: 3
Compression:
Stored size: 504 Bytes
Contents
module YARD module CodeObjects # Represents the root namespace object (the invisible Ruby module that # holds all top level modules, class and other objects). class RootObject < ModuleObject def path; @path ||= "" end def inspect; @inspect ||= "#<yardoc root>" end def root?; true end def title; 'Top Level Namespace' end def equal?(other) other == :root ? true : super(other) end def hash; :root.hash end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
deg-yard-0.8.7.4 | lib/yard/code_objects/root_object.rb |
deg-yard-0.8.7.3 | lib/yard/code_objects/root_object.rb |
deg-yard-0.8.7.1 | lib/yard/code_objects/root_object.rb |