class Apipie::Markup::Textile
Public Class Methods
new()
click to toggle source
# File lib/apipie/markup.rb, line 40 def initialize require 'RedCloth' end
Public Instance Methods
to_html(text)
click to toggle source
# File lib/apipie/markup.rb, line 44 def to_html(text) RedCloth.new(text).to_html end