Module: Reform::Validation
- Included in:
- Contract
- Defined in:
- lib/reform/validation.rb,
lib/reform/validation/groups.rb
Overview
Adds ::validates and friends, and #valid? to the object. This is completely form-independent.
Defined Under Namespace
Modules: ClassMethods Classes: Groups
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(includer) ⇒ Object
31 32 33 |
# File 'lib/reform/validation.rb', line 31 def self.included(includer) includer.extend(ClassMethods) end |