You have two choices:
 * undef_method
 * remove_method

The first prevents any and all calls to the passed in method; the
latter removes the method for just the given module which allows calls
to be made into the superclass.

See the docs: ri undef_method

On Apr 16, 8:51 am, Ben Johnson <bjohn... / mediamanifest.com> wrote:
> Is it possible to undefine a method. For example:
>
> class A
> def method
> end
> end
>
> A.undefine_method(:method)
>
> Is this possible?
>
> I need to do this because I'm dynamically building methods into a class
> and it would make everything cleaner.
>
> --
> Posted viahttp://www.ruby-forum.com/.