mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix stringified inspection of generic match data value
This commit is contained in:
parent
5e80b3835a
commit
31acc707dc
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue