Module: Dry::Validation::Macros::Registrar
- Included in:
- Dry::Validation, Contract::ClassInterface
- Defined in:
- lib/dry/validation/macros.rb
Instance Method Summary collapse
-
#register_macro ⇒ self
Register a macro.
Instance Method Details
#register_macro ⇒ self
Register a macro
32 33 34 35 |
# File 'lib/dry/validation/macros.rb', line 32 def register_macro(...) macros.register(...) self end |