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

ap.awesome_sequel_dataset(ds) Arguments Error #427

Open daBee opened 12 months ago

daBee commented 12 months ago

I've tried a couple of my tables and I get proper datasets. But I'm getting an error on this method:

require 'awesome_print/ext/sequel'

ds = DL[:airports]
puts ds.class
ap.awesome_sequel_dataset(ds)
Sequel::Postgres::Dataset
/Users/user3/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/awesome_print-1.9.2/lib/awesome_print/core_ext/kernel.rb:19:in `ap': wrong number of arguments (given 0, expected 1..2) (ArgumentError)