def filter ids: nil, tags: nil, dom: nil
      id_s = tag_s = dom_s = ""
      id_s   = process_ids(ids)   unless ids.nil?
      tag_s  = process_tags(tags) unless tags.nil?
      dom_s  = process_dom(dom)   unless dom.nil?
      return "#{id_s} #{tag_s} #{dom_s}".strip
    end
def filter ids: nil, tags: nil, dom: nil
      id_s = tag_s = dom_s = ""
      id_s   = process_ids(ids)   unless ids.nil?
      tag_s  = process_tags(tags) unless tags.nil?
      dom_s  = process_dom(dom)   unless dom.nil?
      return "#{id_s} #{tag_s} #{dom_s}".strip
    end
Converts ids, tags, and dom queries to a single string ready to pass
 directly to task.

 @param ids[Range, Array<String, Range, Fixnum>, String, Fixnum]
 @param tags[String, Array<String>]
 @param dom[String, Array<String>]
 @return [String] a string with ids tags and dom joined by a space
 @api public