Class: Avm::Git::Scms::GitSubBase::Interval
- Inherits:
-
Scms::Interval
- Object
- Scms::Interval
- Avm::Git::Scms::GitSubBase::Interval
- Defined in:
- lib/avm/git/scms/git_sub_base/interval.rb
Instance Method Summary collapse
- #commits ⇒ Array<Avm::Git::Scms::GitSubBase::Commit>
- #parent_interval ⇒ Avm::Git::Scms::Git::Interval
Instance Method Details
#commits ⇒ Array<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_interval ⇒ Avm::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 |