Sha256: e0e038ef01a96ce1496b62506e26f799c224182d549756c57fc9b893e22a2bcc

Contents?: true

Size: 445 Bytes

Versions: 68

Compression:

Stored size: 445 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

68 entries across 55 versions & 5 rubygems

Version Path
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.5.2/lib/yard/code_objects/root_object.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.5.2/lib/yard/code_objects/root_object.rb
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.5.2/lib/yard/code_objects/root_object.rb
yard-0.8.5.2 lib/yard/code_objects/root_object.rb
yard-0.8.5.1 lib/yard/code_objects/root_object.rb
yard-0.8.5 lib/yard/code_objects/root_object.rb
challah-0.9.1.beta.3 vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
yard-0.8.4.1 lib/yard/code_objects/root_object.rb
yard-0.8.4 lib/yard/code_objects/root_object.rb
challah-0.9.1.beta vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
challah-0.9.0 vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/yard-0.8.2.1/lib/yard/code_objects/root_object.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
challah-rolls-0.2.0 vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/yard-0.8.2.1/lib/yard/code_objects/root_object.rb
challah-rolls-0.2.0 vendor/bundle/gems/yard-0.8.2.1/lib/yard/code_objects/root_object.rb
challah-0.8.3 vendor/bundle/gems/yard-0.8.2.1/lib/yard/code_objects/root_object.rb
challah-0.8.3 vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb
yard-0.8.3 lib/yard/code_objects/root_object.rb