mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Change how values are passed to helper
Working around a segfault (dunno why this fixes it).
This commit is contained in:
parent
d705ef657c
commit
e7e1d0e084
24 changed files with 106 additions and 107 deletions
|
@ -3,6 +3,9 @@ require "./match_data_value"
|
|||
module Spectator::Matchers
|
||||
# Wraps a value for used in match data.
|
||||
private class GenericMatchDataValue(T) < MatchDataValue
|
||||
# Underlying value.
|
||||
getter value
|
||||
|
||||
# Creates the wrapper.
|
||||
def initialize(@value : T)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue