Method: FormKeeper::Validator.register_constraint
- Defined in:
- lib/formkeeper.rb
.register_constraint(name, constraint) ⇒ Object
705 706 707 |
# File 'lib/formkeeper.rb', line 705 def self.register_constraint(name, constraint) @@constraint_store[name] = constraint end |