Class: ReplicateFS
Constant Summary
Constants inherited
from Replicate
Replicate::DIRFILE
Instance Attribute Summary
Attributes inherited from Replicate
#items, #source, #target
Instance Method Summary
collapse
Methods inherited from Replicate
#check_and_make_dirs, #copy, #copy_files, #get_dirs, #get_files, #initialize
Constructor Details
This class inherits a constructor from Replicate
Instance Method Details
#cp(src, tgt) ⇒ Object
279
280
281
|
# File 'lib/hobix/publish/replicate.rb', line 279
def cp(src,tgt)
FileUtils.cp src, tgt
end
|
#directory?(d) ⇒ Boolean
271
272
273
|
# File 'lib/hobix/publish/replicate.rb', line 271
def directory?(d)
File.directory? d
end
|
#mkdir_p(tgt) ⇒ Object
275
276
277
|
# File 'lib/hobix/publish/replicate.rb', line 275
def mkdir_p(tgt)
FileUtils.mkdir_p tgt
end
|