Drop: require 'json' for #inspect call

This commit is contained in:
Parker Moore 2016-01-15 10:00:56 -08:00
parent 3e81331af1
commit 22931f42b8
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ module Jekyll
#
# Returns a pretty generation of the hash representation of the Drop.
def inspect
require 'json'
JSON.pretty_generate to_h
end