mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Quick def methods should accept any args
This commit is contained in:
parent
f497aeb79d
commit
c8864b169e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module Spectator
|
|||
{% if name %}@[::Spectator::StubbedName({{name}})]{% end %}
|
||||
class {{type_name.id}} < {{@type.name}}
|
||||
{% for key, value in value_methods %}
|
||||
inject_stub def {{key.id}}
|
||||
inject_stub def {{key.id}}(*_args, **_kwargs)
|
||||
{{value}}
|
||||
end
|
||||
{% end %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue