Move instance variable

This commit is contained in:
Michael Miller 2021-01-09 12:48:53 -07:00
parent 65dba9f317
commit 2e8036d230
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -8,6 +8,8 @@ module Spectator
include Events
include Iterable(SpecNode)
@nodes = [] of SpecNode
group_event before_all do |hooks|
Log.trace { "Processing before_all hooks for #{self}" }
@ -60,8 +62,6 @@ module Spectator
end
end
@nodes = [] of SpecNode
# Removes the specified *node* from the group.
# The node will be unassigned from this group.
def delete(node : SpecNode)