Class: Polyrun::Quick::Collector

Inherits:
Object
  • Object
show all
Defined in:
lib/polyrun/quick/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCollector

Returns a new instance of Collector.



28
29
30
# File 'lib/polyrun/quick/runner.rb', line 28

def initialize
  @groups = []
end

Instance Attribute Details

#groupsObject (readonly)

Returns the value of attribute groups.



26
27
28
# File 'lib/polyrun/quick/runner.rb', line 26

def groups
  @groups
end

Instance Method Details

#register(group) ⇒ Object



32
33
34
# File 'lib/polyrun/quick/runner.rb', line 32

def register(group)
  @groups << group
end