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

Fixes warning: Capturing the given block using Proc.new is deprecated; use `&block` instead (ruby 2.7.0 error) #385

Closed dahal closed 3 years ago

dahal commented 3 years ago
DannyBen commented 3 years ago

What about this fix? Although I did not see a problem in Ruby 2.7, now with Ruby 3.0 this issue is present and prevents my tests from passing.

BryanH commented 3 years ago

There were multiple PRs to solve this issue--great minds think alike; this issue will be resolved in the next release, which is testing now. Thank you!