class Hash

def symbolize_keys

Experimental RBS support (using type sampling data from the type_fusion project).

def symbolize_keys: () -> untyped

This signature was generated using 1 sample from 1 application.

# => {:name=>"Rob", :age=>"28"}
hash.symbolize_keys

hash = { 'name' => 'Rob', 'age' => '28' }

they respond to +to_sym+.
Returns a new hash with all keys converted to symbols, as long as
def symbolize_keys
  transform_keys { |key| key.to_sym rescue key }
end