I know in Ruby that I can use respond_to? to check if an object has a certain method.
respond_to?
But, given the class, how can I check if the instance has a certai
Try Foo.instance_methods.include? :bar
Foo.instance_methods.include? :bar