Class: Renderer::Entities::Module
- Defined in:
- lib/renderer/entities/module.rb
Instance Attribute Summary
Attributes inherited from Container
#classes, #constants, #defined_by, #defs, #doc, #extends, #includes, #modules, #sdefs
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(parent, model) ⇒ Module
constructor
A new instance of Module.
- #resolve_references! ⇒ Object
- #type ⇒ Object
Methods inherited from Container
#find_nested_container, #init_entities, #init_reference, #init_reference!, #init_references!, #resolve_class_path
Methods inherited from Base
#class?, #def?, #full_path, #inspect, #module?, #register_reference, #root, #root?, #static?, #to_s
Constructor Details
#initialize(parent, model) ⇒ Module
Returns a new instance of Module.
8 9 10 11 12 13 14 |
# File 'lib/renderer/entities/module.rb', line 8 def initialize(parent, model) if parent.nil? as_root { super } else super end end |