Module: Haml::Filters::Textile
- Includes:
- Base
- Defined in:
- /build/buildd/ruby-haml-3.1.4/lib/haml/filters.rb
Overview
Instance Method Summary (collapse)
Methods included from Base
#compile, included, #internal_compile, #lazy_require, #render_with_options
Instance Method Details
- render(text)
343 344 345 |
# File '/build/buildd/ruby-haml-3.1.4/lib/haml/filters.rb', line 343
def render(text)
::RedCloth.new(text).to_html(:textile)
end
|