Class: Spoom::Model::Namespace Abstract
- Defined in:
- lib/spoom/model/model.rb
Overview
This class is abstract.
A class or module
Direct Known Subclasses
Instance Attribute Summary collapse
- #children ⇒ Object readonly
- #mixins ⇒ Object readonly
Attributes inherited from SymbolDef
#comments, #location, #owner, #symbol
Instance Method Summary collapse
-
#initialize(symbol, owner:, location:, comments: []) ⇒ Namespace
constructor
A new instance of Namespace.
Methods inherited from SymbolDef
Constructor Details
#initialize(symbol, owner:, location:, comments: []) ⇒ Namespace
Returns a new instance of Namespace.
118 119 120 121 122 123 |
# File 'lib/spoom/model/model.rb', line 118 def initialize(symbol, owner:, location:, comments: []) super(symbol, owner: owner, location: location, comments: comments) @children = [] #: Array[SymbolDef] @mixins = [] #: Array[Mixin] end |
Instance Attribute Details
#children ⇒ Object (readonly)
112 113 114 |
# File 'lib/spoom/model/model.rb', line 112 def children @children end |
#mixins ⇒ Object (readonly)
115 116 117 |
# File 'lib/spoom/model/model.rb', line 115 def mixins @mixins end |