Is there anything more idiomatic than the following?
foo.class == String
foo.instance_of? String
or
foo.kind_of? String
if you you only care if it is derrived from String somewhere up its inheritance chain
String