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
137 138 139 140 141 |
# File 'lib/spoom/model/model.rb', line 137 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?
134 135 136 |
# File 'lib/spoom/model/model.rb', line 134 def superclass_name @superclass_name end |