Module: Mixture::Model
- Defined in:
- lib/mixture/model.rb
Overview
A model.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
A method used internally by ruby.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
A method used internally by ruby.
30 31 32 33 |
# File 'lib/mixture/model.rb', line 30 def self.included(base) base.extend ClassMethods base.mixture_modules(:attribute, :coerce, :validate) end |