Class: Recot::Tasks::SyncTask
- Defined in:
- lib/recot/tasks/sync_task.rb
Constant Summary collapse
- SEPARATOR =
'/'.freeze
Instance Method Summary collapse
-
#initialize ⇒ SyncTask
constructor
A new instance of SyncTask.
- #run(args = nil) ⇒ Object
Constructor Details
#initialize ⇒ SyncTask
Returns a new instance of SyncTask.
13 14 15 |
# File 'lib/recot/tasks/sync_task.rb', line 13 def initialize() super end |
Instance Method Details
#run(args = nil) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/recot/tasks/sync_task.rb', line 17 def run(args = nil) # get evidence path path = evidence_path() unless File.exist?(path) $stderr.puts "unkown #{path} directory." else move(path) end end |