awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.07k stars 454 forks source link

doesn't work with https://github.com/prismicio/ruby-kit #323

Closed spnkr closed 6 years ago

spnkr commented 6 years ago

their api has a lot of nested data structures, and this is how it prints out:

image

if it worked w/ awesome_print, like most ruby objects, so it looks more like this:

image

if someone can tell me what the problem is i can fix it.

spnkr commented 6 years ago

Solution:

ap(object, raw:true)

prints out properly