Fix type warning

This commit is contained in:
Michael Miller 2021-01-16 11:00:54 -07:00
parent e09f5c960a
commit 58e7981b0c
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -32,7 +32,7 @@ module Spectator
# This will be the return value of the block. # This will be the return value of the block.
# The block is lazily evaluated and the value retrieved only once. # The block is lazily evaluated and the value retrieved only once.
# Afterwards, the value is cached and returned by successive calls to this method. # Afterwards, the value is cached and returned by successive calls to this method.
def value def value : T
@value.get { call } @value.get { call }
end end