README.md in ruby3-backward-compatibility-0.1.3 vs README.md in ruby3-backward-compatibility-0.2.0

- old
+ new

@@ -28,11 +28,13 @@ ``` require 'ruby3-backward-compatibility/compatibility/all' ``` +Note however that this will not patch anything that has not been required yet. You can always require single patches as shown below. + ## List of backports ### ruby3 keyword arguments One breaking change in Ruby 3 is that methods defined using keyword arguments have to be called with keyword arguments, not with option hashes. For example @@ -85,9 +87,20 @@ To allow both styles, use ``` require 'ruby3_backward_compatibility/compatibility/erb' +``` + + +### I18n + +`I18n` has a few methods (`translate`, `localize`, etc.) that requires to be called with keywords. + +To allow calling it with option hashes, too, use + +``` +require 'ruby3_backward_compatibility/compatibility/i18n' ``` ### Object