Introduce template factory

This commit is contained in:
Martin Morissette
2019-12-17 21:45:08 -05:00
parent 6c6382ed69
commit d8f31046a9
6 changed files with 74 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
# frozen_string_literal: true
module Liquid
class TemplateFactory
def for(_template_name)
Liquid::Template.new
end
end
end