Class: Spoom::Model::Mixin

Inherits:
Object
  • Object
show all
Extended by:
T::Helpers
Defined in:
lib/spoom/model/model.rb

Overview

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



205
206
207
# File 'lib/spoom/model/model.rb', line 205

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

: String



202
203
204
# File 'lib/spoom/model/model.rb', line 202

def name
  @name
end