Class: Spoom::Model::Mixin Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/spoom/model/model.rb

Overview

This class is abstract.

A mixin (include, prepend, extend) to a namespace

Direct Known Subclasses

Extend, Include, Prepend

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

: String



194
195
196
# File 'lib/spoom/model/model.rb', line 194

def name
  @name
end