File Directory Ruby

Dir.delete("testdir")