lib/nanoc/base/temp_filename_factory.rb in nanoc-3.7.4 vs lib/nanoc/base/temp_filename_factory.rb in nanoc-3.7.5
- old
+ new
@@ -1,13 +1,11 @@
# encoding: utf-8
require 'tmpdir'
module Nanoc
-
class TempFilenameFactory
-
# @return [String] The root directory for all temporary filenames
attr_reader :root_dir
# @return [Nanoc::TempFilenameFactory] A common instance
def self.instance
@@ -49,9 +47,7 @@
if @counts.empty? && File.directory?(@root_dir)
FileUtils.rm_rf(@root_dir)
end
end
-
end
-
end