module Inkcite::PostProcessor

Public Class Methods

run_all(html, ctx) click to toggle source
# File lib/inkcite/post_processor.rb, line 8
def self.run_all html, ctx
  ctx.post_processors.inject(html) { |h, pp| pp.post_process(h, ctx) }
end

Public Instance Methods

post_process(html, ctx) click to toggle source
# File lib/inkcite/post_processor.rb, line 4
def post_process html, ctx
  raise 'Extending class must implement process(html, ctx)'
end