class Locomotive::Steam::TextileService

Public Instance Methods

to_html(text) click to toggle source
# File lib/locomotive/steam/services/textile_service.rb, line 8
def to_html(text)
  return '' if text.blank?

  ::RedCloth.new(text).to_html
end