Sha256: 4f0287217b0a2897dbddfe223182d017736d272c93bafff90cd6b7e3b5e19817
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 KB
Contents
module Might # Contains contains with all supported predicates # module FilterPredicates NOT_EQ = 'not_eq' EQ = 'eq' DOES_NOT_MATCH = 'does_not_match' MATCHES = 'matches' GT = 'gt' LT = 'lt' GTEQ = 'gteq' LTEQ = 'lteq' NOT_CONT = 'not_cont' CONT = 'cont' NOT_START = 'not_start' START = 'start' DOES_NOT_END = 'not_end' ENDS = 'end' NOT_TRUE = 'not_true' TRUE = 'true' NOT_FALSE = 'not_false' FALSE = 'false' BLANK = 'blank' PRESENT = 'present' NOT_NULL = 'not_null' NULL = 'null' NOT_IN = 'not_in' IN = 'in' NOT_CONT_ANY = 'not_cont_any' CONT_ANY = 'cont_any' ON_VALUE = [ NOT_EQ, EQ, DOES_NOT_MATCH, MATCHES, GT, LT, GTEQ, LTEQ, NOT_CONT, CONT, NOT_START, START, DOES_NOT_END, ENDS, NOT_TRUE, TRUE, NOT_FALSE, FALSE, BLANK, PRESENT, NOT_NULL, NULL ] ON_ARRAY = [ NOT_IN, IN, NOT_CONT_ANY, CONT_ANY ] ALL = ON_VALUE + ON_ARRAY end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
might-0.5.1 | lib/might/filter_predicates.rb |
might-0.5.0 | lib/might/filter_predicates.rb |
might-0.4.0 | lib/might/filter_predicates.rb |
might-0.3.1 | lib/might/filter_predicates.rb |