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.



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

def initialize
  @groups = []
end

Instance Attribute Details

#groupsObject (readonly)

Returns the value of attribute groups.



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

def groups
  @groups
end

Instance Method Details

#register(group) ⇒ Object



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

def register(group)
  @groups << group
end