Module: Reaction::HasValidators

Defined in:
lib/reaction/has_validators.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/reaction/has_validators.rb', line 3

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#cleanup_validatorsObject



46
47
48
# File 'lib/reaction/has_validators.rb', line 46

def cleanup_validators
  self.class.cleanup_validators
end