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
: String.
Instance Method Summary collapse
-
#initialize(name) ⇒ Mixin
constructor
: (String name) -> void.
Constructor Details
#initialize(name) ⇒ Mixin
: (String name) -> void
210 211 212 |
# File 'lib/spoom/model/model.rb', line 210 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
: String
207 208 209 |
# File 'lib/spoom/model/model.rb', line 207 def name @name end |