mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix type warning
This commit is contained in:
parent
e09f5c960a
commit
58e7981b0c
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module Spectator
|
|||
# This will be the return value of the block.
|
||||
# The block is lazily evaluated and the value retrieved only once.
|
||||
# Afterwards, the value is cached and returned by successive calls to this method.
|
||||
def value
|
||||
def value : T
|
||||
@value.get { call }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue