Class: Spoom::Model::Class
- Defined in:
- lib/spoom/model/model.rb
Instance Attribute Summary collapse
-
#superclass_name ⇒ Object
Returns the value of attribute superclass_name.
Attributes inherited from Namespace
Attributes inherited from SymbolDef
Instance Method Summary collapse
-
#initialize(symbol, owner:, location:, superclass_name: nil) ⇒ Class
constructor
A new instance of Class.
Methods inherited from SymbolDef
Constructor Details
#initialize(symbol, owner:, location:, superclass_name: nil) ⇒ Class
Returns a new instance of Class.
129 130 131 132 133 |
# File 'lib/spoom/model/model.rb', line 129 def initialize(symbol, owner:, location:, superclass_name: nil) super(symbol, owner: owner, location: location) @superclass_name = superclass_name end |
Instance Attribute Details
#superclass_name ⇒ Object
Returns the value of attribute superclass_name.
119 120 121 |
# File 'lib/spoom/model/model.rb', line 119 def superclass_name @superclass_name end |