Make it fail

This commit is contained in:
Anatol Broder
2014-05-08 07:24:04 +02:00
parent 9ba89b9ab1
commit fd1778203d

View File

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