mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Docs for RootExampleGroup
This commit is contained in:
parent
b414438627
commit
bd8df38ecd
1 changed files with 6 additions and 0 deletions
|
@ -1,11 +1,17 @@
|
|||
require "./example_group"
|
||||
|
||||
module Spectator
|
||||
# Top-most group of examples and sub-groups.
|
||||
# The root has no parent.
|
||||
class RootExampleGroup < ExampleGroup
|
||||
# Dummy value - this should never be used.
|
||||
def what : String
|
||||
"ROOT"
|
||||
end
|
||||
|
||||
# Does nothing.
|
||||
# This prevents the root group
|
||||
# from showing up in output.
|
||||
def to_s(io)
|
||||
# ...
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue