Module: Y2Issues::WithIssues
- Defined in:
- library/general/src/lib/y2issues/with_issues.rb
Overview
Mixin that provides a helper method to work with a list of issues
Instance Method Summary collapse
-
#with_issues(&block) ⇒ Y2Issues::List
Executes the given block passing a list of issues.
Instance Method Details
#with_issues(&block) ⇒ Y2Issues::List
Executes the given block passing a list of issues
42 43 44 45 46 |
# File 'library/general/src/lib/y2issues/with_issues.rb', line 42 def with_issues(&block) issues = Y2Issues::List.new block.call(issues) issues end |