Module: Jekyll::DebugFilter

Defined in:
lib/starter_web/_plugins/debug.rb

Instance Method Summary collapse

Instance Method Details

#debug(obj, stdout = false) ⇒ Object



56
57
58
59
# File 'lib/starter_web/_plugins/debug.rb', line 56

def debug(obj, stdout=false)
  puts obj.pretty_inspect if stdout
  "<pre>#{obj.class}\n#{obj.pretty_inspect}</pre>"
end