From 22931f42b87e94d88216c3e08aba3d32dd91d43a Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 15 Jan 2016 10:00:56 -0800 Subject: [PATCH] Drop: require 'json' for #inspect call --- lib/jekyll/drops/drop.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jekyll/drops/drop.rb b/lib/jekyll/drops/drop.rb index a8342c14..b13db5ef 100644 --- a/lib/jekyll/drops/drop.rb +++ b/lib/jekyll/drops/drop.rb @@ -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