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.
27 28 29 |
# File 'lib/polyrun/quick/runner.rb', line 27 def initialize @groups = [] end |
Instance Attribute Details
#groups ⇒ Object (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 |