Skip to content
Browse files

Remove override to Jekyll::Document#respond_to? (#7695)

Merge pull request 7695
  • Loading branch information...
ashmaroli authored and jekyllbot committed Jun 5, 2019
1 parent 04ba0c3 commit e05745929f9fbe6ea79e5eaf0ff774fab04852f3
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/jekyll/document.rb
@@ -392,12 +392,6 @@ def related_posts
@related_posts ||=

# Override of normal respond_to? to match method_missing's logic for
# looking in @data.
def respond_to?(method, include_private = false)
data.key?(method.to_s) || super

# Override of method_missing to check in @data for the key.
def method_missing(method, *args, &blck)
if data.key?(method.to_s)

0 comments on commit e057459

Please sign in to comment.
You can’t perform that action at this time.