1
0
Fork 0
template_engine_comparison/lib/workbench/wrappers/tenjin.rb

15 lines
256 B
Ruby

module Workbench
module Wrappers
class Tenjin < Base
def initialize path
@path = path
@engine = ::Tenjin::Engine.new
end
def render context, args = {}
@engine.render(@path, args)
end
end
end
end