Method: Liquid::Assign#render_to_output_buffer
- Defined in:
- lib/liquid/tags/assign.rb
#render_to_output_buffer(context, output) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/liquid/tags/assign.rb', line 36 def render_to_output_buffer(context, output) val = @from.render(context) context.scopes.last[@to] = val context.resource_limits.increment_assign_score(assign_score_of(val)) output end |