Class: Locomotive::Steam::TextileService
- Inherits:
-
Object
- Object
- Locomotive::Steam::TextileService
- Defined in:
- lib/locomotive/steam/services/textile_service.rb
Instance Method Summary collapse
Instance Method Details
#to_html(text) ⇒ Object
8 9 10 11 12 |
# File 'lib/locomotive/steam/services/textile_service.rb', line 8 def to_html(text) return '' if text.blank? ::RedCloth.new(text).to_html end |