Class: Git::Lint::Reporters::Branch
- Inherits:
-
Object
- Object
- Git::Lint::Reporters::Branch
- Defined in:
- lib/git/lint/reporters/branch.rb
Overview
Reports issues related to a single branch.
Instance Method Summary collapse
-
#initialize(collector: Collector.new) ⇒ Branch
constructor
A new instance of Branch.
- #to_s ⇒ Object (also: #to_str)
Constructor Details
Instance Method Details
#to_s ⇒ Object Also known as: to_str
16 17 18 19 |
# File 'lib/git/lint/reporters/branch.rb', line 16 def to_s "Running Git Lint...#{branch_report}\n" \ "#{commit_total}. #{issue_totals}.\n" end |