shard-spectator/src/spectator/example_group_iteration.cr

13 lines
338 B
Crystal
Raw Normal View History

require "./example_group"
module Spectator
class ExampleGroupIteration(T) < ExampleGroup
2021-07-17 18:07:04 +00:00
getter item : T
def initialize(@item : T, name : Label = nil, location : Location? = nil,
group : ExampleGroup? = nil, metadata : Metadata = Metadata.new)
super(name, location, group, metadata)
end
end
end