I am using Ruby on Rails 3.0.9 and I would like to check if a object is a class or a class instance. For example if I have
Article # It is a class name
@article # It is an instance of the Article class
maybe I may do something like the following:
kind?(Article) # => class
kind?(@article) # => class_instance
How can I retrieve that information?