mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
9 lines
282 B
Crystal
9 lines
282 B
Crystal
module Spectator
|
|
# Base class for proxying test values to examples.
|
|
# This abstraction is required for inferring types.
|
|
# The `DSL#let` macro makes heavy use of this.
|
|
private abstract class ValueWrapper
|
|
# Retrieves the underlying value.
|
|
abstract def value
|
|
end
|
|
end
|