mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 15:30:39 -07:00
Fix syntax in doc comment; test same syntax.
This commit is contained in:
@@ -174,7 +174,7 @@ module Liquid
|
||||
#
|
||||
# @context['hash'] = {"name" => 'tobi'}
|
||||
# assert_equal 'tobi', @context['hash.name']
|
||||
# assert_equal 'tobi', @context['hash[name]']
|
||||
# assert_equal 'tobi', @context['hash["name"]']
|
||||
#
|
||||
def variable(markup)
|
||||
parts = markup.scan(VariableParser)
|
||||
|
||||
Reference in New Issue
Block a user