The class method supercedes Object's deprecated method type, or gets the name of the class as a string with the name method
myString = "asdf" myString.class.name # => "String"