| Class | AutomateIt::ShellManager::BaseDriver |
| In: |
lib/automateit/shell_manager.rb
|
| Parent: | AutomateIt::Plugin::Driver |
Base class for all ShellManager drivers.
Returns derived filename to use as a peer given the source and target. This is necessary for differentiating between directory and file targets.
For example:
# Get the peer for an extant target directory:
peer_for("foo", "/tmp") # => "/tmp/foo"
# Get the peer for anything else:
peer_for("foo", "/bar") # => "/bar"