method
thread_internal
thread_internal(cmd, algorithm, search_keys, charset)
private
Hide source
# File lib/net/imap.rb, line 1381 def thread_internal(cmd, algorithm, search_keys, charset) if search_keys.instance_of?(String) search_keys = [RawData.new(search_keys)] else normalize_searching_criteria(search_keys) end normalize_searching_criteria(search_keys) send_command(cmd, algorithm, charset, *search_keys) return @responses.delete("THREAD")[-1] end