Sha256: 41a99ae00a785e9686132ecff838391f449c911d66fc9eec423a59f3f13c3ab1

Contents?: true

Size: 311 Bytes

Versions: 8

Compression:

Stored size: 311 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; "" end
      def inspect; "#<yardoc root>" end
      def root?; true end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
yard-0.5.6 lib/yard/code_objects/root_object.rb
yard-0.5.5 lib/yard/code_objects/root_object.rb
yard-0.5.4 lib/yard/code_objects/root_object.rb
yard-0.5.3 lib/yard/code_objects/root_object.rb
yard-0.5.2 lib/yard/code_objects/root_object.rb
yard-0.5.1p1 lib/yard/code_objects/root_object.rb
yard-0.5.1 lib/yard/code_objects/root_object.rb
yard-0.5.0 lib/yard/code_objects/root_object.rb