mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Pass through prefixed value #inspect method
This commit is contained in:
parent
fbee1d9461
commit
acf52e1553
1 changed files with 7 additions and 0 deletions
|
@ -14,5 +14,12 @@ module Spectator::Matchers
|
||||||
io << ' '
|
io << ' '
|
||||||
io << @value
|
io << @value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Outputs details of the formatted value with a prefix.
|
||||||
|
def inspect(io)
|
||||||
|
io << @prefix
|
||||||
|
io << ' '
|
||||||
|
@prefix.inspect(io)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue