This project is archived and is in readonly mode.

#2870 ✓committed
Lawrence Pit

Ruby 1.9 style String interpolation support for lower ruby versions.

Reported by Lawrence Pit | July 6th, 2009 @ 01:34 AM | in 2.x

Attached patch adds ruby 1.9 style String interpolation support for lower ruby versions. Thanks to code from Masao Mutoh's GetText gem.

The reason for including this patch is that for I18n we'd like to switch from "{{arg}}" style named arguments to standard ruby 1.9 syntax, i.e. : "%{arg}". This makes later upgrades to ruby 1.9 easier and it makes string interpolation a lot more powerful/flexible than what is currently possible.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Referenced by

Pages