Fixes #35298 - Pass trim_mode as a keyword argument
Ruby 2.6 introduced the keyword argument and Ruby 3.1 raises deprecationwarnings about this.
Fixes #35298 - Pass trim_mode as a keyword argument
Ruby 2.6 introduced the keyword argument and Ruby 3.1 raises deprecation
warnings about this.