<commit_before>require 'erubis'
require 'erb'

util = ERB::Util

Object.send :remove_const, :ERB
ERB = Erubis::Eruby
ERB::Util = util

class Erubis::Eruby # to be compatible with ERB constructor
  def initialize(input, *args)
    if args.size.zero? || args.first.is_a?(Hash)
      super
    else
      trim = args[1] == '-'
      bufvar = args[2]
      super input, :trim => trim, :bufvar => bufvar
    end
  end
end
<commit_msg>The constructor of Erubis::Eruby now doesn't require any arg<commit_after>require 'erubis'
require 'erb'

util = ERB::Util

Object.send :remove_const, :ERB
ERB = Erubis::Eruby
ERB::Util = util

class Erubis::Eruby # to be compatible with ERB constructor
  def initialize(input = nil, *args)
    if args.size.zero? || args.first.is_a?(Hash)
      super
    else
      trim = args[1] == '-'
      bufvar = args[2]
      super input, :trim => trim, :bufvar => bufvar
    end
  end
end

{'fraction_non_alphanumeric': 0.12733260153677278, 'fraction_numerical': 0.0043907793633369925, 'mean_word_length': 3.2418604651162792, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4706962', 'n_tokens_mistral': 335, 'n_tokens_neox': 330, 'n_words': 93}