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
197 198 199 |
# File 'lib/spoom/model/model.rb', line 197 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
: String
194 195 196 |
# File 'lib/spoom/model/model.rb', line 194 def name @name end |