<commit_before>class FaxPdf

  def initialize(fax, campaign)
    @fax = fax
    @campaign = campaign
  end

  def generate_pdf
    pdf = Prawn::Document.new
    pdf.move_down 10 
    pdf.font_size 10
    pdf.text @fax.name
    pdf.text @fax.email
    pdf.move_down 25
    pdf.font_size 16
    pdf.text @campaign.name
    pdf.move_down 15
    pdf.font_size 10
    if fax.body
      pdf.text @fax.body
    else
      pdf.text @campaign.default_message_body
    end

    pdf.render
  end

  def logo_path
    logopath = "#{Rails.root}/app/assets/images/logo-small.png"
  end
end<commit_msg>fix tipo<commit_after>class FaxPdf

  def initialize(fax, campaign)
    @fax = fax
    @campaign = campaign
  end

  def generate_pdf
    pdf = Prawn::Document.new
    pdf.move_down 10 
    pdf.font_size 10
    pdf.text @fax.name
    pdf.text @fax.email
    pdf.move_down 25
    pdf.font_size 16
    pdf.text @campaign.name
    pdf.move_down 15
    pdf.font_size 10
    if @fax.body
      pdf.text @fax.body
    else
      pdf.text @campaign.default_message_body
    end

    pdf.render
  end

  def logo_path
    logopath = "#{Rails.root}/app/assets/images/logo-small.png"
  end
end
{'fraction_non_alphanumeric': 0.08632478632478632, 'fraction_numerical': 0.020512820512820513, 'mean_word_length': 2.3457142857142856, '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': '5243676', 'n_tokens_mistral': 467, 'n_tokens_neox': 412, 'n_words': 96}