Class: GithubDailyUpdate::Reporter::OpenPulls
- Defined in:
- lib/github_daily_update/reporters/open_pulls.rb
Overview
This reporter generates a list of all the open pull-requests for an Org
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from GithubDailyUpdate::Reporter::Base
Instance Method Details
#generate ⇒ Object
3 4 5 6 7 |
# File 'lib/github_daily_update/reporters/open_pulls.rb', line 3 def generate output = "## Open Pulls\n\n" output += open_pull_requests.map { |pull| template % pull }.join("\n") output end |