Skip to content
Browse files

fix incorrect comment

  • Loading branch information...
1 parent caa95ab commit 8aa537c9452d40aeaf25e6d7e0c5bb1205b05d1a @vijaydev vijaydev committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/string/output_safety.rb
View
2 activesupport/lib/active_support/core_ext/string/output_safety.rb
@@ -144,7 +144,7 @@ def to_yaml(*args)
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)

0 comments on commit 8aa537c

Please sign in to comment.
Something went wrong with that request. Please try again.