Object
Converts all of the keys to strings, optionally formatting key name
# File lib/twitter.rb, line 134 134: def rubyify_keys! 135: keys.each{|k| 136: v = delete(k) 137: new_key = k.to_s.underscore 138: self[new_key] = v 139: v.rubyify_keys! if v.is_a?(Hash) 140: v.each{|p| p.rubyify_keys! if p.is_a?(Hash)} if v.is_a?(Array) 141: } 142: self 143: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.