Revert "Make it fail"

This reverts commit c89e7539b86a483a2f8b14dd766ad90da1eb9773.
This commit is contained in:
Anatol Broder 2014-05-08 07:42:47 +02:00
parent fd1778203d
commit d96f39360b
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ module Jekyll
end
def hash_property(hash, property)
return hash[property]
return item_property(hash, property)
if hash.respond_to?('[]'.freeze)
hash[property]
elsif hash.respond_to?(property)