module Ivar::Checked
def self.included(base)
-
base
(Class
) -- The class that is including this module
def self.included(base) base.include(Validation) base.extend(ClassMethods) base.extend(CheckPolicy) base.extend(Macros) base.prepend(InstanceMethods) # Set default policy for Checked to :warn # This can be overridden by calling ivar_check_policy in the class base.ivar_check_policy(Ivar.check_policy) end