aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-11-09 16:19:47 -0200
committerYehuda Katz <wycats@Yehuda-Katz.local>2009-11-09 10:57:53 -0800
commit83f329f5f30567a10bc96410da230bf986db8ad4 (patch)
tree4746143e291128f166fd7bd518240522ade6248c /activesupport/lib/active_support/core_ext
parent790c062280c0d23c2033e4983c13d402c0424f2a (diff)
downloadrails-83f329f5f30567a10bc96410da230bf986db8ad4.tar.gz
rails-83f329f5f30567a10bc96410da230bf986db8ad4.tar.bz2
rails-83f329f5f30567a10bc96410da230bf986db8ad4.zip
Bundle I18n 0.2.0.
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/string/interpolation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/interpolation.rb b/activesupport/lib/active_support/core_ext/string/interpolation.rb
index d9159b690a..c4a5c0ca35 100644
--- a/activesupport/lib/active_support/core_ext/string/interpolation.rb
+++ b/activesupport/lib/active_support/core_ext/string/interpolation.rb
@@ -5,7 +5,7 @@
You may redistribute it and/or modify it under the same license terms as Ruby.
=end
-if RUBY_VERSION < '1.9'
+if RUBY_VERSION < '1.9' && !"".respond_to?(:interpolate_without_ruby_19_syntax)
require 'active_support/core_ext/string/bytesize'
# KeyError is raised by String#% when the string contains a named placeholder