[ 原始碼: ruby-valid ]
套件:ruby-valid(1.0.0-2.1)
standalone, generic object validator for ruby
Validator is a simple ruby validation class. You don't use it directly inside your classes like just about every other ruby validation class out there. This is implemented in this way so you don't automatically pollute the namespace of the objects you want to validate.
This also solves the problem of validating forms very nicely. Frequently you will have a form that represents many different data objects in your system, and you can pre-validate everything before doing any saving.
其他與 ruby-valid 有關的套件
|
|
|
|
-
- dep: ruby
- Interpreter of object-oriented scripting language Ruby (default version)
- 或者 ruby-interpreter
- 套件暫時不可用