Validation layer for any business logic with a declarative rule-/contract-oriented API and instance-based behavior.
gem 'smart_validator'
bundle install
# --- or ---
gem install smart_validator
require 'smart_core/validator'
- soon (you can check specs for usage examples at this moment)
- Fork it ( https://github.com/smart-rb/smart_validator )
- Create your feature branch (
git checkout -b feature/my-new-feature
) - Commit your changes (
git commit -am '[feature_context] Add some feature'
) - Push to the branch (
git push origin feature/my-new-feature
) - Create new Pull Request
Released under MIT License.