For example: Int32's conversion method is to_i. String is to_s, and so on.
# Please no code shaming (all this is just a contrived example)
test_string = "5000"
def extract_example(test_string, **t)
pp t[:custom_key]
case t[:custom_key]
when Int32
test_string = test_string.to_i
puts "I can't get this to call..."
end
test_string
end
pp extract_example(test_string, custom_key: Int32)