module Mixture::Extensions::Validatable
Allows attributes to be validated based on a predefined set of principles.
Public Class Methods
included(base)
click to toggle source
Called by Ruby when the module is included. This just extends the base by the {ClassMethods} module and includes into the base the {InstanceMethods} module.
@param base [Object] @return [void] @api private
# File lib/mixture/extensions/validatable.rb, line 65 def self.included(base) base.extend ClassMethods base.send :include, InstanceMethods end