Sha256: efd93aacabc9370c69692cb79ed3b9a856062d1dec1202585cdd2af5209ba846

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

require 'cgi'

require 'jack/string'
require 'jack/highlight'
require 'jack/html'
require 'jack/markdown'

module Jack
  
  def self.render(text, format = 'html')
    "Jack::#{format.camelize}".constantize.new(text).render
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jackb-0.0.3 lib/jack.rb