Mega Code Archive
Categories
/
Ruby
/
Reflection
The Object class has a class method that returns the name of an instances class
myString = "asdf" myString.class # => String