mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Implement #described_class
This commit is contained in:
parent
7ff91b4fc6
commit
f7eeb2b2a3
2 changed files with 7 additions and 1 deletions
|
@ -17,6 +17,12 @@ module Spectator
|
|||
|
||||
module Locals
|
||||
include {{parent_locals_module.id}}::Locals
|
||||
|
||||
{% if what.is_a?(Path) %}
|
||||
def described_class
|
||||
{{what}}
|
||||
end
|
||||
{% end %}
|
||||
end
|
||||
|
||||
{{block.body}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue