Module: Haml::Filters::Textile

Includes:
Base
Defined in:
lib/haml/filters.rb

Instance Method Summary collapse

Methods included from Base

#compile, included, #internal_compile, #lazy_require, #render_with_options

Instance Method Details

#render(text) ⇒ Object



238
239
240
# File 'lib/haml/filters.rb', line 238

def render(text)
  ::RedCloth.new(text).to_html(:textile)
end