Class: GitLeadTime::MergeInformation
- Inherits:
-
Object
- Object
- GitLeadTime::MergeInformation
- Defined in:
- lib/git_lead_time/merge_information.rb
Instance Attribute Summary collapse
-
#first_commit_finder ⇒ Object
readonly
Returns the value of attribute first_commit_finder.
Instance Method Summary collapse
- #info_for(merge_sha) ⇒ Object
-
#initialize(ref, first_commit_finder: FirstCommitFinder.new(ref)) ⇒ MergeInformation
constructor
A new instance of MergeInformation.
Constructor Details
#initialize(ref, first_commit_finder: FirstCommitFinder.new(ref)) ⇒ MergeInformation
Returns a new instance of MergeInformation.
8 9 10 |
# File 'lib/git_lead_time/merge_information.rb', line 8 def initialize(ref, first_commit_finder: FirstCommitFinder.new(ref)) @first_commit_finder = first_commit_finder end |
Instance Attribute Details
#first_commit_finder ⇒ Object (readonly)
Returns the value of attribute first_commit_finder.
6 7 8 |
# File 'lib/git_lead_time/merge_information.rb', line 6 def first_commit_finder @first_commit_finder end |