mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
add name attribute to Template for more flexibility to set context's template name
This commit is contained in:
@@ -15,7 +15,7 @@ module Liquid
|
||||
# template.render('user_name' => 'bob')
|
||||
#
|
||||
class Template
|
||||
attr_accessor :root
|
||||
attr_accessor :root, :name
|
||||
attr_reader :resource_limits, :warnings
|
||||
|
||||
class TagRegistry
|
||||
|
||||
Reference in New Issue
Block a user