Sha256: aa93a1caddca4238e308e3ba8a20adc7495dc6fae587449d9e0226435beaeca5
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
module PairSee class CardKnowledgeSummary include Comparable attr_reader :commits_on_card_count def initialize(card_number, commits_on_card_count, authors) @card_number = card_number @commits_on_card_count = commits_on_card_count @authors = authors end def has_debt @authors.count < 2 end def pretty pretty_author_names = @authors.map(&:to_s).join "#{@card_number} has #{@commits_on_card_count} commits with only #{@authors.count} committer(s) #{pretty_author_names} on the entire card" end def authors_list @authors.sort.join(' ') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pair_see-0.1.6 | lib/pair_see/card_knowledge_summary.rb |