Class: Avm::Scms::ChangedFile
- Inherits:
-
Object
- Object
- Avm::Scms::ChangedFile
- Defined in:
- lib/avm/scms/changed_file.rb
Instance Method Summary collapse
- #absolute_path ⇒ Pathname
- #action ⇒ Symbol
- #add? ⇒ Boolean
- #delete? ⇒ Boolean
- #modify? ⇒ Boolean
- #path ⇒ Pathname
- #scm ⇒ Avm::Scms::Base
Instance Method Details
#absolute_path ⇒ Pathname
11 12 13 |
# File 'lib/avm/scms/changed_file.rb', line 11 def absolute_path path.(scm.path) end |
#action ⇒ Symbol
16 17 18 |
# File 'lib/avm/scms/changed_file.rb', line 16 def action raise_abstract_method __method__ end |
#add? ⇒ Boolean
21 22 23 |
# File 'lib/avm/scms/changed_file.rb', line 21 def add? action == ACTION_ADD end |
#delete? ⇒ Boolean
26 27 28 |
# File 'lib/avm/scms/changed_file.rb', line 26 def delete? action == ACTION_DELETE end |
#modify? ⇒ Boolean
31 32 33 |
# File 'lib/avm/scms/changed_file.rb', line 31 def modify? action == ACTION_MODIFY end |
#path ⇒ Pathname
36 37 38 |
# File 'lib/avm/scms/changed_file.rb', line 36 def path raise_abstract_method __method__ end |
#scm ⇒ Avm::Scms::Base
41 42 43 |
# File 'lib/avm/scms/changed_file.rb', line 41 def scm raise_abstract_method __method__ end |