mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove reference to Internals namespace
This commit is contained in:
parent
1f300a4a18
commit
0067191423
1 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@ module Spectator
|
|||
{{block.body}}
|
||||
end
|
||||
|
||||
@%wrapper : ::Spectator::Internals::ValueWrapper?
|
||||
@%wrapper : ::Spectator::ValueWrapper?
|
||||
|
||||
def {{name.id}}
|
||||
if (wrapper = @%wrapper)
|
||||
wrapper.as(::Spectator::Internals::TypedValueWrapper(typeof(%value))).value
|
||||
wrapper.as(::Spectator::TypedValueWrapper(typeof(%value))).value
|
||||
else
|
||||
%value.tap do |value|
|
||||
@%wrapper = ::Spectator::Internals::TypedValueWrapper.new(value)
|
||||
@%wrapper = ::Spectator::TypedValueWrapper.new(value)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue