This project is archived and is in readonly mode.
Changeset [17d5cc12b9f8d0d78a081d231e7e0c5ec9df1104] by Sven Fuchs
Revision 17d5cc12b9f8d0d78a081d231e7e0c5ec9df1104,
committed by Sven Fuchs
· July 18th, 2009 @ 07:27 PM
- don't include String#% for Ruby 1.9
- raise a KeyError exception for missing named interpolation args (like Ruby 1.9 does)
- raise an ArgumentError when mixing named and unnamed placeholders (like Ruby 1.9 does)
- improve docs and comply a bit more w/ Rails names/conventions
[#2870 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
2 changed files
-
M
activesupport/lib/active_support/core_ext/string/interpolation.rb -
M
activesupport/test/core_ext/string_ext_test.rb