Class: Spoom::Model::Mixin Abstract
- Inherits:
-
Object
- Object
- Spoom::Model::Mixin
- Defined in:
- lib/spoom/model/model.rb
Overview
This class is abstract.
A mixin (include, prepend, extend) to a namespace
Instance Attribute Summary collapse
- #name ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(name) ⇒ Mixin
constructor
A new instance of Mixin.
Constructor Details
#initialize(name) ⇒ Mixin
Returns a new instance of Mixin.
210 211 212 |
# File 'lib/spoom/model/model.rb', line 210 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
207 208 209 |
# File 'lib/spoom/model/model.rb', line 207 def name @name end |