change site_cleaner to use attr_accessor

This commit is contained in:
maul.esel 2013-08-17 22:33:01 +02:00
parent 5da13d2b66
commit 5d7dba476c
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ module Jekyll
attr_accessor :config, :layouts, :posts, :pages, :static_files,
:categories, :exclude, :include, :source, :dest, :lsi, :pygments,
:permalink_style, :tags, :time, :future, :safe, :plugins, :limit_posts,
:show_drafts, :keep_files, :baseurl
:show_drafts, :keep_files, :baseurl, :site_cleaner
attr_accessor :converters, :generators
@ -88,7 +88,7 @@ module Jekyll
self.converters = instantiate_subclasses(Jekyll::Converter)
self.generators = instantiate_subclasses(Jekyll::Generator)
@site_cleaner = Cleaner.new(self)
self.site_cleaner = Cleaner.new(self)
end
# Internal: Setup the plugin search path
@ -228,7 +228,7 @@ module Jekyll
#
# Returns nothing.
def cleanup
@site_cleaner.cleanup!
self.site_cleaner.cleanup!
end
# Write static files, pages, and posts.