Sha256: 19e66b351cfdf431ced89f5f9f158c57fc230d01817b8e253feec7658dedc728

Contents?: true

Size: 238 Bytes

Versions: 1

Compression:

Stored size: 238 Bytes

Contents

require 'cgi'

require 'jackb/string'
require 'jackb/highlight'
require 'jackb/html'
require 'jackb/markdown'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jackb-0.0.4 lib/jackb.rb