Method: HTML#ln_to_br

Defined in:
lib/html.rb

#ln_to_br(text = @string) ⇒ Object



116
117
118
# File 'lib/html.rb', line 116

def ln_to_br(text = @string)
  text.to_s.gsub("\n", "<br>")
end