Class: Avm::Scms::AutoCommit::Rules::Last::WithFile

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

Instance Method Summary collapse

Methods inherited from Base::WithFile

#new_commit_info

Instance Method Details

#commit_infoObject



11
12
13
# File 'lib/avm/scms/auto_commit/rules/last.rb', line 11

def commit_info
  file.commits.last.if_present { |v| new_commit_info.fixup(v) }
end