Class: Avm::Git::Scms::GitSubBase::Interval

Inherits:
Scms::Interval
  • Object
show all
Defined in:
lib/avm/git/scms/git_sub_base/interval.rb

Instance Method Summary collapse

Instance Method Details

#commitsArray<Avm::Git::Scms::GitSubBase::Commit>



14
15
16
17
18
# File 'lib/avm/git/scms/git_sub_base/interval.rb', line 14

def commits
  parent_interval.commits.map do |parent_commit|
    Avm::Git::Scms::GitSubBase::Commit.new(scm, parent_commit)
  end
end

#parent_intervalAvm::Git::Scms::Git::Interval



21
22
23
# File 'lib/avm/git/scms/git_sub_base/interval.rb', line 21

def parent_interval
  scm.parent_scm.interval(from, to)
end