class Hash
def stringify_keys
Experimental RBS support (using type sampling data from the type_fusion
project).
def stringify_keys: () -> untyped
This signature was generated using 7 samples from 1 application.
hash.stringify_keys
hash = { name: 'Rob', age: '28' }
Returns a new hash with all keys converted to strings.
def stringify_keys transform_keys(&:to_s) end