mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Store example description
This commit is contained in:
parent
d8621fc43e
commit
84ed9c41b2
2 changed files with 6 additions and 1 deletions
|
@ -94,6 +94,10 @@ module Spectator
|
||||||
def run
|
def run
|
||||||
{{block.body}}
|
{{block.body}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def description
|
||||||
|
{{description.stringify}}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
{% if given_vars.empty? %}
|
{% if given_vars.empty? %}
|
||||||
|
|
|
@ -11,6 +11,7 @@ module Spectator
|
||||||
expect(subject)
|
expect(subject)
|
||||||
end
|
end
|
||||||
|
|
||||||
abstract def run
|
abstract def run : Nil
|
||||||
|
abstract def description : String
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue