Module: LogStash::Config::AST::NotInExpression

Defined in:
lib/logstash/config/config_ast.rb

Instance Method Summary collapse

Instance Method Details

#compileObject



484
485
486
487
# File 'lib/logstash/config/config_ast.rb', line 484

def compile
  item, list = recursive_select(LogStash::Config::AST::RValue)
  return "(x = #{list.compile}; !x.respond_to?(:include?) || !x.include?(#{item.compile}))"
end