samg / diffy

Easy Diffing in Ruby
http://rubygems.org/gems/diffy
MIT License
1.27k stars 104 forks source link

Fix unused `stderr` variable warning #118

Closed sambostock closed 2 years ago

sambostock commented 2 years ago

If used in combination with ruby -w, the unused stderr variable causes a warning. Prefixing it with an underscore tells Ruby we're doing it intentionally and avoids the warning.

sambostock commented 2 years ago

@samg any chance you'd have time to look at this?

samg commented 2 years ago

Thanks @sambostock! Released in version 3.4.2.