Skip to content

Commit 6e6a853

Browse files
committed
Ensure compatibility with Ruby 2.7
1 parent bc45d38 commit 6e6a853

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/jekyll-archives/page_drop.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ class PageDrop < Jekyll::Drops::Drop
88
mutable false
99

1010
def_delegators :@obj, :posts, :type, :title, :date, :name, :path, :url, :permalink
11-
private def_delegators :@obj, :site, :relative_path, :data
11+
def_delegators :@obj, :site, :relative_path, :data
1212

1313
def fallback_data
1414
Jekyll::Utils.deep_merge_hashes(
1515
data, site.frontmatter_defaults.all(relative_path, type)
1616
)
1717
end
18-
private :fallback_data
18+
19+
private :site, :relative_path, :data, :fallback_data
1920
end
2021
end
2122
end

0 commit comments

Comments
 (0)