mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove redundant #add_child method
This commit is contained in:
parent
eb8ce6ff92
commit
ee4623b471
1 changed files with 0 additions and 4 deletions
|
@ -3,10 +3,6 @@ module Spectator::DSL
|
|||
def initialize(@what : String)
|
||||
end
|
||||
|
||||
def add_child(child : Child) : Nil
|
||||
@children << child
|
||||
end
|
||||
|
||||
def build(parent : ExampleGroup, sample_values : Internals::SampleValues) : NestedExampleGroup
|
||||
NestedExampleGroup.new(@what, parent, hooks).tap do |group|
|
||||
group.children = @children.map do |child|
|
||||
|
|
Loading…
Reference in a new issue