Class: Bundler::Settings::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler/settings/validator.rb

Defined Under Namespace

Classes: Rule

Class Method Summary collapse

Class Method Details

.validate!(key, value, settings) ⇒ Object



52
53
54
55
# File 'lib/bundler/settings/validator.rb', line 52

def self.validate!(key, value, settings)
  rules_to_validate = rules[key]
  rules_to_validate.each {|rule| rule.validate!(key, value, settings) }
end