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 Attribute Summary
Attributes inherited from Dry::Validation::Message
Instance Method Summary collapse
-
#evaluate(**opts) ⇒ Object
Evaluate message text using provided locale.
Methods inherited from Dry::Validation::Message
[], #base?, #initialize, #to_s
Constructor Details
This class inherits a constructor from Dry::Validation::Message