Skip to content
This repository
Browse code

marking self in Hash#symbolize_keys!

  • Loading branch information...
commit 16301cce760ad98c6dc07c53f67c990fd5d684b4 1 parent 92dbdb2
Francesco Rodríguez authored May 13, 2012
2  activesupport/lib/active_support/core_ext/hash/keys.rb
@@ -35,7 +35,7 @@ def symbolize_keys
35 35
   alias_method :to_options,  :symbolize_keys
36 36
 
37 37
   # Destructively convert all keys to symbols, as long as they respond
38  
-  # to +to_sym+. Same as +symbolize_keys+, but modifies self.
  38
+  # to +to_sym+. Same as +symbolize_keys+, but modifies +self+.
39 39
   def symbolize_keys!
40 40
     keys.each do |key|
41 41
       self[(key.to_sym rescue key)] = delete(key)

0 notes on commit 16301cc

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