Class: Backup::Storages::Local::Object

Inherits:
Base::Object show all
Defined in:
lib/backup-agent/storages/local.rb

Instance Attribute Summary

Attributes inherited from Base::Object

#id, #storage

Instance Method Summary collapse

Methods inherited from Base::Object

#initialize, #to_s

Constructor Details

This class inherits a constructor from Backup::Storages::Base::Object

Instance Method Details

#last_modifiedObject



32
33
34
# File 'lib/backup-agent/storages/local.rb', line 32

def last_modified
  File.mtime(File.join(storage.directory, id)).utc
end