Class: Documentation::Namespace

Inherits:
Base
  • Object
show all
Defined in:
lib/pdoc/parser/documentation_nodes.rb

Direct Known Subclasses

Klass, Mixin

Instance Method Summary collapse

Methods inherited from Base

#alias_of, #deprecated?, #description, #doc_parent, #ebnf_expressions, #full_name, #inspect, #klass, #klass_name, #name, #namespace, #namespace_string, #parent_id, #related_to, #root, #section_name, #serialize, #signature, #src_code_line, #tags, #to_yaml

Methods included from Memoized

#avoid_infinite_method_added_loop, #memoize, #method_added

Instance Method Details

#klass?Boolean



450
451
452
# File 'lib/pdoc/parser/documentation_nodes.rb', line 450

def klass?
  false
end

#mixin?Boolean



446
447
448
# File 'lib/pdoc/parser/documentation_nodes.rb', line 446

def mixin?
  false
end

#mixinsObject



442
443
444
# File 'lib/pdoc/parser/documentation_nodes.rb', line 442

def mixins
  ebnf.mixins.map { |m| m.full_name }
end

#typeObject



454
455
456
# File 'lib/pdoc/parser/documentation_nodes.rb', line 454

def type
  "namespace"
end