Class: PRWithParams::OptionsValidator
- Inherits:
-
Object
- Object
- PRWithParams::OptionsValidator
- Defined in:
- lib/pr_with_params/options_validator.rb
Defined Under Namespace
Classes: ValidatorError
Constant Summary collapse
- VALIDATOR_CLASS_MAP =
{ conventional_commits: 'PRWithParams::ConventionalCommitValidator' }.freeze
Class Method Summary collapse
Class Method Details
.validate!(options, validators: []) ⇒ Object
10 11 12 13 14 |
# File 'lib/pr_with_params/options_validator.rb', line 10 def validate!(, validators: []) validators.each do |validator| (validator, ) end end |