lib/buildmaster/cotta/cotta_file.rb in BuildMaster-0.9.0 vs lib/buildmaster/cotta/cotta_file.rb in BuildMaster-0.9.1
- old
+ new
@@ -33,15 +33,15 @@
return @system.file_exists?(@path)
end
def copy_to(target_file)
target_file.parent.mkdirs
- @system.copy(path, target_file.path)
+ @system.copy_file(path, target_file.path)
end
def move_to(target_file)
target_file.parent.mkdirs
- @system.move(path, target_file.path)
+ @system.move_file(path, target_file.path)
end
def save(content = '')
write {|file| file.printf content.to_s}
end
\ No newline at end of file