Module: Dry::Logic::Predicates

Extended by:
Methods
Includes:
Core::Constants
Included in:
Builder::Context::Predicates
Defined in:
lib/dry/logic/predicates.rb

Defined Under Namespace

Modules: Methods

Constant Summary

Constants included from Methods

Methods::UUIDv1, Methods::UUIDv2, Methods::UUIDv3, Methods::UUIDv4, Methods::UUIDv5

Class Method Summary collapse

Methods included from Methods

[], array?, attr?, bool?, bytesize?, case?, date?, date_time?, decimal?, deprecated, 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?, uri?, uri_rfc3986?, uuid_format, uuid_v1?, uuid_v2?, uuid_v3?, uuid_v4?, uuid_v5?

Class Method Details

.included(other) ⇒ Object



288
289
290
291
# File 'lib/dry/logic/predicates.rb', line 288

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