<commit_before>require "stringify/version"

module Stringify
  def self.combine_with(connector, *args)
    return args.first if args.count == 1
    strings = args.map { |string| string.to_s }
    connector = connector.to_s
    strings.join(connector)
  end
end<commit_msg>Added the functionality to combine arrays along with strings<commit_after>require "stringify/version"

module Stringify
  def self.combine_with(connector, *args)
    args.flatten!
    return args.first if args.count == 1
    strings = args.map { |string| string.to_s }
    connector = connector.to_s
    strings.join(connector)
  end
end
{'fraction_non_alphanumeric': 0.09195402298850575, 'fraction_numerical': 0.003284072249589491, 'mean_word_length': 3.959349593495935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7343696', 'n_tokens_mistral': 192, 'n_tokens_neox': 185, 'n_words': 50}