Class: TextileFilter

Inherits:
TextFilter
  • Object
show all
Defined in:
lib/textile_filter.rb

Instance Method Summary collapse

Instance Method Details

#filter(text) ⇒ Object



3
4
5
# File 'lib/textile_filter.rb', line 3

def filter(text)
  RedCloth.new(text).to_html
end