Class: Avm::Scms::AutoCommit::Rules::Unique::WithFile
- Inherits:
-
Base::WithFile
- Object
- Base::WithFile
- Avm::Scms::AutoCommit::Rules::Unique::WithFile
- Defined in:
- lib/avm/scms/auto_commit/rules/unique.rb
Instance Method Summary collapse
Methods inherited from Base::WithFile
Instance Method Details
#commit_info ⇒ Object
11 12 13 14 15 |
# File 'lib/avm/scms/auto_commit/rules/unique.rb', line 11 def commit_info return nil unless file.commits.count == 1 new_commit_info.fixup(file.commits.first) end |