Skip to content

Commit

Permalink
fix incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed Sep 21, 2011
1 parent caa95ab commit 8aa537c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)
Expand Down

0 comments on commit 8aa537c

Please sign in to comment.