Closed eddierubeiz closed 2 years ago
In Ruby 3.1, the https://github.com/ruby/ruby/tree/master/lib/error_highlight gem will start highlighting the part of the code that breaks. Let's match both the old-style and new-style error using a clever regex.
https://github.com/ruby/ruby/tree/master/lib/error_highlight
In Ruby 3.1, the
https://github.com/ruby/ruby/tree/master/lib/error_highlight
gem will start highlighting the part of the code that breaks. Let's match both the old-style and new-style error using a clever regex.