mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Formatting
This commit is contained in:
parent
3ae83f8b3d
commit
e275711f2b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue