consul/consul

View on GitHub
app/helpers/text_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module TextHelper
  def first_paragraph(text)
    if text.blank?
      ""
    else
      text.strip.split("\n").first
    end
  end
end