Class: PairSee::Seer
- Inherits:
-
Object
- Object
- PairSee::Seer
- Defined in:
- lib/pair_see/seer.rb
Instance Attribute Summary collapse
-
#seer ⇒ Object
readonly
Returns the value of attribute seer.
Instance Method Summary collapse
- #all_commits ⇒ Object
- #all_most_recent_commits ⇒ Object
- #cards_per_person ⇒ Object
- #commits_not_by_known_pair ⇒ Object
-
#initialize(options) ⇒ Seer
constructor
A new instance of Seer.
- #knowledge_debt ⇒ Object
- #pair_recency ⇒ Object
- #pretty_card_data ⇒ Object
- #pretty_card_data_by_commits ⇒ Object
- #recommended_pairings ⇒ Object
Constructor Details
#initialize(options) ⇒ Seer
Returns a new instance of Seer.
7 8 9 10 11 12 13 14 |
# File 'lib/pair_see/seer.rb', line 7 def initialize() @repo_locations = [:repo_locations] @after_date = [:after_date] @card_prefix = [:card_prefix] @names = [:names] @seer = PairSee::TooMuchStuff.new() @log_lines = LogLineParse.new(@repo_locations, @after_date).log_lines end |
Instance Attribute Details
#seer ⇒ Object (readonly)
Returns the value of attribute seer.
5 6 7 |
# File 'lib/pair_see/seer.rb', line 5 def seer @seer end |
Instance Method Details
#all_commits ⇒ Object
36 37 38 |
# File 'lib/pair_see/seer.rb', line 36 def all_commits seer.all_commits end |
#all_most_recent_commits ⇒ Object
20 21 22 |
# File 'lib/pair_see/seer.rb', line 20 def all_most_recent_commits seer.all_most_recent_commits end |
#cards_per_person ⇒ Object
40 41 42 |
# File 'lib/pair_see/seer.rb', line 40 def cards_per_person CardsPerPerson.new(@log_lines, @card_prefix, @names).cards_per_person end |
#commits_not_by_known_pair ⇒ Object
16 17 18 |
# File 'lib/pair_see/seer.rb', line 16 def commits_not_by_known_pair seer.commits_not_by_known_person end |
#knowledge_debt ⇒ Object
44 45 46 |
# File 'lib/pair_see/seer.rb', line 44 def knowledge_debt KnowledgeDebt.new(@log_lines, @card_prefix, @names).knowledge_debt end |
#pair_recency ⇒ Object
48 49 50 |
# File 'lib/pair_see/seer.rb', line 48 def pair_recency PairRecency.new(@log_lines, @card_prefix, @names).pair_recency end |
#pretty_card_data ⇒ Object
28 29 30 |
# File 'lib/pair_see/seer.rb', line 28 def pretty_card_data seer.pretty_card_data end |
#pretty_card_data_by_commits ⇒ Object
32 33 34 |
# File 'lib/pair_see/seer.rb', line 32 def pretty_card_data_by_commits seer.pretty_card_data_by_commits end |
#recommended_pairings ⇒ Object
24 25 26 |
# File 'lib/pair_see/seer.rb', line 24 def recommended_pairings seer.recommended_pairings end |