How do I define methods for every class/object?

Use the UNIVERSAL class (see the UNIVERSAL manpage).