Create a BlockBody class to decouple block body parsing from tags.

This commit is contained in:
Dylan Thacker-Smith
2014-11-03 17:07:42 -05:00
committed by Justin Li
parent 263e90e772
commit 73fcd42403
18 changed files with 253 additions and 157 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
module Liquid
class Block < Tag
class BlockBody
def render_token_with_profiling(token, context)
Profiler.profile_token_render(token) do
render_token_without_profiling(token, context)