Class: SimpleBackup::Source::DirStrategy::Capistrano
- Inherits:
-
Object
- Object
- SimpleBackup::Source::DirStrategy::Capistrano
- Defined in:
- lib/simple_backup/source/dir_strategy/capistrano.rb
Constant Summary collapse
- @@logger =
Utils::Logger.instance
Instance Method Summary collapse
Instance Method Details
#get_entries(path) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/simple_backup/source/dir_strategy/capistrano.rb', line 7 def get_entries(path) shared = shared_path(path) current = current_path(path) paths = [current, shared].compact if paths.empty? @@logger.warning "No capistrano paths for application" return nil end paths end |