Fix stringified inspection of generic match data value

This commit is contained in:
Michael Miller 2019-03-22 11:04:11 -06:00
parent 5e80b3835a
commit 31acc707dc

View file

@ -9,6 +9,11 @@ module Spectator::Matchers
# Stringifies the value.
def to_s(io)
io << value
end
# Inspects the value.
def inspect(io)
@value.inspect(io)
end
end