Class: Avm::Scms::AutoCommit::Rules::Nth::WithFile

Inherits:
Base::WithFile show all
Defined in:
lib/avm/scms/auto_commit/rules/nth.rb

Instance Method Summary collapse

Methods inherited from Base::WithFile

#new_commit_info

Instance Method Details

#commit_infoObject



23
24
25
# File 'lib/avm/scms/auto_commit/rules/nth.rb', line 23

def commit_info
  file.commits(number - 1).if_present { |v| new_commit_info.fixup(v) }
end