mirror of https://github.com/rails/rails
fix incorrect comment
This commit is contained in:
parent
caa95ab6d8
commit
8aa537c945
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue