method
textile
rails latest stable - Class:
RailsGuides::Generator
textile(body, lite_mode=false)private
No documentation available.
# File railties/guides/rails_guides/generator.rb, line 269
def textile(body, lite_mode=false)
t = RedCloth.new(body)
t.hard_breaks = false
t.lite_mode = lite_mode
t.to_html(:notestuff, :plusplus, :code)
end