class MyClass def my_method end end a_class = MyClass an_object = MyClass.new a_method = an_object.my_method print 42.class, " " print a_class.class, " " print an_object.class, " " print a_method.class, " " print a_method.methods.class