Class: Dry::Validation::Message::Localized
- Inherits:
-
Dry::Validation::Message
- Object
- Schema::Message
- Dry::Validation::Message
- Dry::Validation::Message::Localized
- Defined in:
- lib/dry/validation/message.rb
Overview
A localized message type
Localized messsages can be translated to other languages at run-time
Instance Method Summary collapse
-
#evaluate(**opts) ⇒ Object
Evaluate message text using provided locale.
Constructor Details
This class inherits a constructor from Dry::Validation::Message