summaryrefslogtreecommitdiff
path: root/lib/banzai.rb
blob: 9ebe379f454e04691b212b439984ef0c34174013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Banzai
  def self.render(text, context = {})
    Renderer.render(text, context)
  end

  def self.cache_collection_render(texts_and_contexts)
    Renderer.cache_collection_render(texts_and_contexts)
  end

  def self.render_result(text, context = {})
    Renderer.render_result(text, context)
  end

  def self.post_process(html, context)
    Renderer.post_process(html, context)
  end
end