mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use original type in redefinition comment
This commit is contained in:
parent
275b217c6c
commit
7ffa63718b
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ module Spectator
|
|||
method = definition[:method]
|
||||
scope = definition[:scope]
|
||||
receiver = definition[:receiver] %}
|
||||
# Redefinition of {{type}}{{(receiver ? "." : "#").id}}{{method.name}}
|
||||
# Redefinition of {{original_type}}{{(receiver ? "." : "#").id}}{{method.name}}
|
||||
{{(method.abstract? ? "abstract_stub abstract" : "default_stub").id}} {{method.visibility.id if method.visibility != :public}} def {{"#{receiver}.".id if receiver}}{{method.name}}(
|
||||
{% for arg, i in method.args %}{% if i == method.splat_index %}*{% end %}{{arg}}, {% end %}
|
||||
{% if method.double_splat %}**{{method.double_splat}}, {% end %}
|
||||
|
|
Loading…
Reference in a new issue