A tiny code cleanup #507

Merged
merged 1 commit into from Jan 4, 2013
View
@@ -310,7 +310,7 @@ def site_payload
#
# Returns the Array of filtered entries.
def filter_entries(entries)
- entries = entries.reject do |e|
+ entries.reject do |e|
unless self.include.include?(e)
['.', '_', '#'].include?(e[0..0]) ||
e[-1..-1] == '~' ||