Sha256: 97f4c987ba9edb3e7c890c08204e00a567fb3199583640ee14910e27b3cc3f92

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

module Might
  # Contains contains with all supported predicates
  #
  module FilterPredicates
    ON_VALUE = %w(
      not_eq eq
      does_not_match matches
      gt lt
      gteq lteq
      not_cont cont
      not_start start
      not_end end
      not_true true
      not_false false
      blank present
      not_null null
    )

    ON_ARRAY = %w(
      not_in in
      not_cont_any cont_any
    )

    ALL = ON_VALUE + ON_ARRAY
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
might-0.3.0 lib/might/filter_predicates.rb