Formatting

This commit is contained in:
Michael Miller 2021-01-30 23:48:59 -07:00
parent 3ae83f8b3d
commit e275711f2b
No known key found for this signature in database
GPG key ID: F9A0C5C65B162436

View file

@ -15,7 +15,9 @@ module Spectator::DSL
@%value = ::Spectator::LazyWrapper.new
def {{name.id}}
{% if block.args.size > 0 %}{{block.args.first}} = ::Spectator::Example.current{% end %}
{% if block.args.size > 0 %}
{{block.args.first}} = ::Spectator::Example.current
{% end %}
@%value.get do
{{block.body}}
end