Write Kernel#public_method on Object methods