lib/rabbit/path-manipulatable.rb in rabbit-2.0.1 vs lib/rabbit/path-manipulatable.rb in rabbit-2.0.2
- old
+ new
@@ -28,12 +28,9 @@
@logger.info(_("Creating directory: %s") % path)
FileUtils.mkdir_p(path)
end
def create_file(path, &block)
- unless Pathname(path).absolute?
- path = File.join(@id, path)
- end
@logger.info(_("Creating file: %s") % path)
File.open(path, "w", &block)
end
end
end