Skip to content

Commit

Permalink
Minor change for 'crystal tool format'
Browse files Browse the repository at this point in the history
  • Loading branch information
docelic committed Jun 10, 2020
1 parent b5daa8e commit dbacd4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors:
- Arnaud Fernandés <[email protected]>


crystal: 0.31.1
crystal: 0.35.0

license: MIT

Expand Down
6 changes: 3 additions & 3 deletions src/liquid/template.cr
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ module Liquid
context = "context"
io.puts <<-EOF
context = Liquid::Context.new
\{% for var in @type.instance_vars %}
context.set \{{var.id.stringify}}, @\{{var.id}}
\{% end %}
{% for var in @type.instance_vars %}
context.set {{var.id.stringify}}, @{{var.id}}
{% end %}
EOF
end

Expand Down

0 comments on commit dbacd4e

Please sign in to comment.