Top Level Namespace

Defined Under Namespace

Classes: DatabaseOperations

Instance Method Summary collapse

Instance Method Details

#copy(src, dst) ⇒ Object



1
2
3
# File 'lib/projectdx/tasks.rb', line 1

def copy(src,dst)
 %x{if [ -e #{dst} ]; then mv #{dst} #{dst}.bak; fi; cp #{src} #{dst}}
end