Sha256: 2752f9d225f76ca541124285d17967aaa1cebc0eee0cfe8a6de66148e10454ff
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
require 'cgi' require 'active_support/core_ext' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jackb-0.0.6.beta | lib/jackb.rb |
jackb-0.0.5 | lib/jackb.rb |