mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Note about tag inheritence
This commit is contained in:
parent
3bc567da4c
commit
d43d309a47
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ module Spectator
|
||||||
# The *source* tracks where the example exists in source code.
|
# The *source* tracks where the example exists in source code.
|
||||||
# The example will be assigned to *group* if it is provided.
|
# The example will be assigned to *group* if it is provided.
|
||||||
# A set of *tags* can be used for filtering and modifying example behavior.
|
# A set of *tags* can be used for filtering and modifying example behavior.
|
||||||
|
# Note: The tags will not be merged with the parent tags.
|
||||||
def initialize(@context : Context, @entrypoint : self ->,
|
def initialize(@context : Context, @entrypoint : self ->,
|
||||||
name : String? = nil, source : Source? = nil,
|
name : String? = nil, source : Source? = nil,
|
||||||
group : ExampleGroup? = nil, tags = Tags.new)
|
group : ExampleGroup? = nil, tags = Tags.new)
|
||||||
|
@ -41,6 +42,7 @@ module Spectator
|
||||||
# The *source* tracks where the example exists in source code.
|
# The *source* tracks where the example exists in source code.
|
||||||
# The example will be assigned to *group* if it is provided.
|
# The example will be assigned to *group* if it is provided.
|
||||||
# A set of *tags* can be used for filtering and modifying example behavior.
|
# A set of *tags* can be used for filtering and modifying example behavior.
|
||||||
|
# Note: The tags will not be merged with the parent tags.
|
||||||
def initialize(name : String? = nil, source : Source? = nil, group : ExampleGroup? = nil,
|
def initialize(name : String? = nil, source : Source? = nil, group : ExampleGroup? = nil,
|
||||||
tags = Tags.new, &block : self ->)
|
tags = Tags.new, &block : self ->)
|
||||||
super(name, source, group, tags)
|
super(name, source, group, tags)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue