compwron/pairSee

View on GitHub
lib/pair_see/pair_commit_count.rb

Summary

Maintainability
A
0 mins
Test Coverage
module PairSee
  class PairCommitCount
    attr_reader :count, :devs

    def initialize(count, *devs)
      @count = count
      @devs = devs
    end

    def to_s
      "#{devs.join ', '}: #{count}"
    end

    def empty?
      count == 0
    end
  end
end