Class: Avm::Scms::Commit
- Inherits:
-
Object
- Object
- Avm::Scms::Commit
- Defined in:
- lib/avm/scms/commit.rb
Instance Method Summary collapse
- #changed_files ⇒ Array<Pathname>
- #merge_with(_other) ⇒ Avm::Scms::Commit
- #no_scm_changed_files ⇒ Array<Pathname>
- #reword(_new_message) ⇒ Object
- #scm_changed_files ⇒ Array<Pathname>
- #scm_file?(_path) ⇒ TrueClass, FalseClass
Instance Method Details
#changed_files ⇒ Array<Pathname>
11 12 13 |
# File 'lib/avm/scms/commit.rb', line 11 def changed_files raise_abstract_method __method__ end |
#merge_with(_other) ⇒ Avm::Scms::Commit
17 18 19 |
# File 'lib/avm/scms/commit.rb', line 17 def merge_with(_other) raise_abstract_method __method__ end |
#no_scm_changed_files ⇒ Array<Pathname>
22 23 24 |
# File 'lib/avm/scms/commit.rb', line 22 def no_scm_changed_files changed_files.reject { |path| scm_file?(path) } end |
#reword(_new_message) ⇒ Object
27 28 29 |
# File 'lib/avm/scms/commit.rb', line 27 def reword() raise_abstract_method __method__ end |
#scm_changed_files ⇒ Array<Pathname>
32 33 34 |
# File 'lib/avm/scms/commit.rb', line 32 def scm_changed_files changed_files.select { |path| scm_file?(path) } end |
#scm_file?(_path) ⇒ TrueClass, FalseClass
38 39 40 |
# File 'lib/avm/scms/commit.rb', line 38 def scm_file?(_path) raise_abstract_method __method__ end |