Class: Gitlab::Config::Entry::Validator
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Gitlab::Config::Entry::Validator
- Includes:
- ActiveModel::Validations, Validators
- Defined in:
- lib/gitlab/config/entry/validator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.name ⇒ Object
16 17 18 |
# File 'lib/gitlab/config/entry/validator.rb', line 16 def self.name 'Validator' end |
Instance Method Details
#messages ⇒ Object
10 11 12 13 14 |
# File 'lib/gitlab/config/entry/validator.rb', line 10 def errors..map do |error| "#{location} #{error}".downcase end end |