mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove unecessary underscores
This commit is contained in:
parent
4df8a1013d
commit
5646a6ebd9
1 changed files with 3 additions and 3 deletions
|
@ -85,14 +85,14 @@ module Spectator
|
||||||
let!({{name}}!) {{block}}
|
let!({{name}}!) {{block}}
|
||||||
|
|
||||||
module Locals
|
module Locals
|
||||||
@_%wrapper : ValueWrapper?
|
@%wrapper : ValueWrapper?
|
||||||
|
|
||||||
def {{name.id}}
|
def {{name.id}}
|
||||||
if (wrapper = @_%wrapper)
|
if (wrapper = @%wrapper)
|
||||||
wrapper.as(TypedValueWrapper(typeof({{name.id}}!))).value
|
wrapper.as(TypedValueWrapper(typeof({{name.id}}!))).value
|
||||||
else
|
else
|
||||||
{{name.id}}!.tap do |value|
|
{{name.id}}!.tap do |value|
|
||||||
@_%wrapper = TypedValueWrapper(typeof({{name.id}}!)).new(value)
|
@%wrapper = TypedValueWrapper(typeof({{name.id}}!)).new(value)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue