Merge pull request #1800 from cs/move-entry-filter-into-jekyll-module

This commit is contained in:
Parker Moore 2013-12-09 14:59:54 -08:00
commit 3b90f8b53c
1 changed files with 27 additions and 25 deletions

View File

@ -1,5 +1,7 @@
module Jekyll
class EntryFilter class EntryFilter
attr_reader :site attr_reader :site
def initialize(site) def initialize(site)
@site = site @site = site
end end
@ -31,5 +33,5 @@ class EntryFilter
def symlink?(entry) def symlink?(entry)
File.symlink?(entry) && site.safe File.symlink?(entry) && site.safe
end end
end
end end