Class: Broadlistening::Steps::Overview
- Defined in:
- lib/broadlistening/steps/overview.rb
Instance Attribute Summary
Attributes inherited from BaseStep
Instance Method Summary collapse
Methods inherited from BaseStep
Constructor Details
This class inherits a constructor from Broadlistening::Steps::BaseStep
Instance Method Details
#execute ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/broadlistening/steps/overview.rb', line 6 def execute return context if context.labels.empty? top_labels = find_top_level_labels(context.labels) overview = generate_overview(top_labels) context.overview = overview context end |