Class: Polyrun::Quick::Collector
- Inherits:
-
Object
- Object
- Polyrun::Quick::Collector
- Defined in:
- lib/polyrun/quick/runner.rb
Instance Attribute Summary collapse
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
Instance Method Summary collapse
-
#initialize ⇒ Collector
constructor
A new instance of Collector.
- #register(group) ⇒ Object
Constructor Details
#initialize ⇒ Collector
Returns a new instance of Collector.
28 29 30 |
# File 'lib/polyrun/quick/runner.rb', line 28 def initialize @groups = [] end |
Instance Attribute Details
#groups ⇒ Object (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 |