Class: Evilution::Config::Validators::Profile

Inherits:
Base
  • Object
show all
Defined in:
lib/evilution/config/validators/profile.rb

Constant Summary collapse

ALLOWED =
%i[default strict].freeze

Class Method Summary collapse

Class Method Details

.call(value) ⇒ Object



8
9
10
# File 'lib/evilution/config/validators/profile.rb', line 8

def self.call(value)
  coerce_symbol!(value, allowed: ALLOWED, name: "profile")
end