Module: Waves::Helpers::Formatting

Defined in:
lib/waves/helpers/formatting.rb

Instance Method Summary collapse

Instance Method Details

#textile(content) ⇒ Object

Treat content as Textile.



8
9
10
# File 'lib/waves/helpers/formatting.rb', line 8

def textile( content )
  raw ::RedCloth.new( content ).to_html
end