diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-22 02:13:04 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-22 02:13:04 +0530 |
commit | 8aa537c9452d40aeaf25e6d7e0c5bb1205b05d1a (patch) | |
tree | eb8d997c9c9c1915222d642d385239e2bc0f9da5 | |
parent | caa95ab6d826f4bb112c2911849ce03c7312af11 (diff) | |
download | rails-8aa537c9452d40aeaf25e6d7e0c5bb1205b05d1a.tar.gz rails-8aa537c9452d40aeaf25e6d7e0c5bb1205b05d1a.tar.bz2 rails-8aa537c9452d40aeaf25e6d7e0c5bb1205b05d1a.zip |
fix incorrect comment
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/output_safety.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb index 3ae3d64fa4..94999807dd 100644 --- a/activesupport/lib/active_support/core_ext/string/output_safety.rb +++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb @@ -144,7 +144,7 @@ module ActiveSupport #:nodoc: UNSAFE_STRING_METHODS.each do |unsafe_method| class_eval <<-EOT, __FILE__, __LINE__ + 1 def #{unsafe_method}(*args, &block) # def capitalize(*args, &block) - to_str.#{unsafe_method}(*args, &block) # to_str.gsub(*args, &block) + to_str.#{unsafe_method}(*args, &block) # to_str.capitalize(*args, &block) end # end def #{unsafe_method}!(*args) # def capitalize!(*args) |