myString = "asdf" puts myString.instance_of? String # => true puts myString.instance_of? Fixnum # => false