Introspection

What are the methods of the object?

irb> Object.methods
=> ["send", "name", "class_eval", "object_id", "new", "singleton_methods", ...]
 

Does an object have a method?

irb> Object.respond_to? :name
=> true