mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix incorrect comment
This commit is contained in:
parent
caa95ab6d8
commit
8aa537c945
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue