Module: Mixture::Model::ClassMethods

Defined in:
lib/mixture/model.rb

Overview

The class methods for the module.

Instance Method Summary collapse

Instance Method Details

#mixture_modules(*mods) ⇒ void

This method returns an undefined value.

Used to include certain extensions.

Parameters:

  • mods (Symbol)

    The mod name to include.

See Also:



20
21
22
23
24
# File 'lib/mixture/model.rb', line 20

def mixture_modules(*mods)
  mods.each do |mod|
    include Extensions[mod]
  end
end