Module: Dry::Guards
- Defined in:
- lib/dry/behaviour.rb,
lib/dry/errors/not_matched.rb,
lib/dry/errors/not_guardable.rb
Defined Under Namespace
Classes: NotGuardable, NotMatched
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
42 43 44 45 |
# File 'lib/dry/behaviour.rb', line 42 def self.included(base) ::Dry::Cerberus::POSTPONE_FIX_CLAUSES.(base) base.singleton_class.prepend(::Dry::Cerberus) end |