Initial code for example names

This commit is contained in:
Michael Miller 2018-09-23 20:24:28 -06:00
parent 5e4f0f3bbc
commit 1c7c6e5e90
2 changed files with 14 additions and 0 deletions

View file

@ -10,5 +10,11 @@ module Spectator
end
private getter locals
def to_s(io)
@group.to_s(io)
io << ' '
io << description
end
end
end

View file

@ -85,5 +85,13 @@ module Spectator
end
wrapper
end
def to_s(io)
if (parent = @parent)
parent.to_s(io)
io << ' '
end
io << what
end
end
end