class Apipie::Markup::Textile

Public Class Methods

new() click to toggle source
# File lib/apipie/markup.rb, line 37
def initialize
  require 'RedCloth'
end

Public Instance Methods

to_html(text) click to toggle source
# File lib/apipie/markup.rb, line 41
def to_html(text)
  RedCloth.new(text).to_html
end