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
: Array.
-
#mixins ⇒ Object
readonly
: Array.
Attributes inherited from SymbolDef
#comments, #location, #owner, #symbol
Instance Method Summary collapse
-
#initialize(symbol, owner:, location:, comments: []) ⇒ Namespace
constructor
: (Symbol symbol, owner: Namespace?, location: Location, ?comments: Array) -> void.
Methods inherited from SymbolDef
Constructor Details
#initialize(symbol, owner:, location:, comments: []) ⇒ Namespace
: (Symbol symbol, owner: Namespace?, location: Location, ?comments: Array) -> void
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 |