lib/salus/scanners/pattern_search.rb
def flag_list(flag, list)
      list&.map do |value|
        "#{flag}=#{value}"
      end&.join(' ')
    end
# returns nil if list is nil
returns nil if list is nil
returns nil if list is nil
def flag_list(flag, list)
      list&.map do |value|
        "#{flag}=#{value}"
      end&.join(' ')
    end
def flag_list ( flag , list ) list &. map do | value | "#{flag}=#{value}" end &. join ( ' ' ) end
returns nil if list is nil
returns nil if list is nil
flag
list