Module: Dry::Logic::Predicates

Extended by:
Methods
Defined in:
lib/dry/logic/predicates.rb

Defined Under Namespace

Modules: Methods

Class Method Summary collapse

Methods included from Methods

[], array?, attr?, bool?, bytesize?, case?, date?, date_time?, decimal?, empty?, eql?, even?, excluded_from?, excludes?, exclusion?, false?, filled?, float?, format?, gt?, gteq?, hash?, included_in?, includes?, inclusion?, int?, is?, key?, lt?, lteq?, max_bytesize?, max_size?, min_bytesize?, min_size?, nil?, not_eql?, number?, odd?, predicate, respond_to?, size?, str?, time?, true?, type?, uuid_v4?

Class Method Details

.included(other) ⇒ Object



225
226
227
228
# File 'lib/dry/logic/predicates.rb', line 225

def self.included(other)
  super
  other.extend(Methods)
end