Sha256: be3cbcb42a05c2bbaa23a50c1281ea6c87b69e376235335f54f65a5db2474577

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

require 'cgi'
require 'activesupport'

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

2 entries across 2 versions & 1 rubygems

Version Path
jackb-0.0.2 lib/jack.rb
jackb-0.0.1 lib/jack.rb