class Hash

def symbolize_keys

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

def symbolize_keys: () -> Hash

This signature was generated using 10 samples from 2 applications.

# => {: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