mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
Drop: require 'json' for #inspect call
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user