3 ms·
I feel refinements are best suited for libraries. E.g. compare this improvement to the CSV gem: https://github.com/ruby/csv/pull/30 https://github.com/ruby/csv/
by Rafert 8y ago
I feel refinements are best suited for libraries. E.g. compare this improvement to the CSV gem: https://github.com/ruby/csv/pull/30 https://github.com/ruby/csv/pull/30 which defines it only for itself, compared to ActiveSupport defining it globally: https://github.com/rails/rails/commit/575dbeeefcaafeb566afc07cdd8b55603b698d9f https://github.com/rails/rails/commit/575dbeeefcaafeb566afc0...