Class: Avm::Scms::AutoCommit::FileResourceName
- Inherits:
-
Object
- Object
- Avm::Scms::AutoCommit::FileResourceName
- Defined in:
- lib/avm/scms/auto_commit/file_resource_name.rb
Instance Method Summary collapse
Instance Method Details
#class_name ⇒ Object
16 17 18 |
# File 'lib/avm/scms/auto_commit/file_resource_name.rb', line 16 def class_name file_format.file_resource_name(relative_path) end |
#commit_message ⇒ Object
20 21 22 23 24 |
# File 'lib/avm/scms/auto_commit/file_resource_name.rb', line 20 def r = class_name r += ': remove' unless path.file? "#{r}." end |
#relative_path ⇒ Object
26 27 28 |
# File 'lib/avm/scms/auto_commit/file_resource_name.rb', line 26 def relative_path path..relative_path_from(source_root.) end |