Drop: require 'json' for #inspect call
This commit is contained in:
parent
3e81331af1
commit
22931f42b8
|
@ -133,6 +133,7 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns a pretty generation of the hash representation of the Drop.
|
# Returns a pretty generation of the hash representation of the Drop.
|
||||||
def inspect
|
def inspect
|
||||||
|
require 'json'
|
||||||
JSON.pretty_generate to_h
|
JSON.pretty_generate to_h
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue