Flowdock
symbolize_keys() public

Return a new hash with all keys converted to symbols, as long as they respond to to_sym.

{ 'name' => 'Rob', 'years' => '28' }.symbolize_keys
#=> { :name => "Rob", :years => "28" }
Show source
Register or log in to add new notes.