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

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

ALLOWED =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

%i[default strict].freeze

Class Method Summary collapse

Class Method Details

.call(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



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

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