Class: PDoc::Models::Namespace
- Includes:
- Container
- Defined in:
- lib/pdoc/models/namespace.rb
Instance Attribute Summary
Attributes inherited from Entity
Attributes inherited from Base
#description, #file, #id, #line_number, #parent, #type
Instance Method Summary collapse
Methods included from Container
#children, #children?, #class_methods, #class_methods?, #class_properties, #class_properties?, #classes, #classes?, #constants, #constants?, #included_mixins, #included_mixins?, #instance_methods, #instance_methods?, #instance_properties, #instance_properties?, #mixins, #mixins?, #namespaces, #namespaces?, #to_hash, #utilities, #utilities?
Methods inherited from Entity
#<=>, #alias?, #aliases, #aliases?, #methodized?, #signature, #signatures, #signatures?, #src_code_href, #to_hash
Methods inherited from Base
#ancestor_of?, #deprecated?, #descendant_of?, #doc_href, #full_name, #initialize, #inspect, instantiate, #name, #normalized_name, #register_on, #short_description, #to_hash, #to_json, #url
Constructor Details
This class inherits a constructor from PDoc::Models::Base
Instance Method Details
#attach_to_parent(parent) ⇒ Object
5 6 7 |
# File 'lib/pdoc/models/namespace.rb', line 5 def attach_to_parent(parent) parent.namespaces << self end |