class ApipieDSL::Markup::Textile

Public Class Methods

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

Public Instance Methods

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