Sha256: 7d127c5865b553520b6007cf2b3cc2ddbeadd09c3680520807eaab97a2477679
Contents?: true
Size: 451 Bytes
Versions: 5
Compression:
Stored size: 451 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 equal?(other) other == :root ? true : super(other) end def hash; :root.hash end end end end
Version data entries
5 entries across 5 versions & 1 rubygems