Class: Spoom::Model::Class
- Defined in:
- lib/spoom/model/model.rb
Instance Attribute Summary collapse
-
#superclass_name ⇒ Object
: String?.
Attributes inherited from Namespace
Attributes inherited from SymbolDef
#comments, #location, #owner, #symbol
Instance Method Summary collapse
-
#initialize(symbol, owner:, location:, superclass_name: nil, comments: []) ⇒ Class
constructor
: ( | Symbol symbol, | owner: Namespace?, | location: Location, | ?superclass_name: String?, | ?comments: Array | ) -> void.
Methods inherited from SymbolDef
Constructor Details
#initialize(symbol, owner:, location:, superclass_name: nil, comments: []) ⇒ Class
: ( | Symbol symbol, | owner: Namespace?, | location: Location, | ?superclass_name: String?, | ?comments: Array | ) -> void
139 140 141 142 143 |
# File 'lib/spoom/model/model.rb', line 139 def initialize(symbol, owner:, location:, superclass_name: nil, comments: []) super(symbol, owner: owner, location: location, comments: comments) @superclass_name = superclass_name end |
Instance Attribute Details
#superclass_name ⇒ Object
: String?
130 131 132 |
# File 'lib/spoom/model/model.rb', line 130 def superclass_name @superclass_name end |