File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/flagsmith/engine/segments Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ class Condition
3737
3838 MATCHING_FUNCTIONS = {
3939 EQUAL => -> ( other_value , self_value ) { other_value == self_value } ,
40- GREATER_THAN => -> ( other_value , self_value ) { other_value > self_value } ,
41- GREATER_THAN_INCLUSIVE => -> ( other_value , self_value ) { other_value >= self_value } ,
42- LESS_THAN => -> ( other_value , self_value ) { other_value < self_value } ,
43- LESS_THAN_INCLUSIVE => -> ( other_value , self_value ) { other_value <= self_value } ,
40+ GREATER_THAN => -> ( other_value , self_value ) { other_value && other_value > self_value } ,
41+ GREATER_THAN_INCLUSIVE => -> ( other_value , self_value ) { other_value && other_value >= self_value } ,
42+ LESS_THAN => -> ( other_value , self_value ) { other_value && other_value < self_value } ,
43+ LESS_THAN_INCLUSIVE => -> ( other_value , self_value ) { other_value && other_value <= self_value } ,
4444 NOT_EQUAL => -> ( other_value , self_value ) { other_value != self_value } ,
4545 CONTAINS => -> ( other_value , self_value ) { other_value &.include? self_value } ,
4646
You can’t perform that action at this time.
0 commit comments