Is this possible?

I can easily define a singleton from 
within an instance method, but I can't
seem to get rid of it. See below.

Even calling private would be OK... but
I can't figure that out either. 

I'll explain why I want to, if someone
can figure out how. :)

Thanks,
Hal

  class MyClass
    def meth1
      def self.foo; 123; end
    end

    def meth2
      # None of these works:
      # undef self.foo
      # remove_method :foo
      # Module.remove_method :foo
      # self.remove_method :foo
      # undef_method :foo
      # Module.undef_method :foo
      # self.undef_method :foo
      # self.instance_eval { undef :foo }
      # private :foo
      # Module.private :foo
      # self.private :foo
      # ... and various others
    end
  end
      
--
Hal Fulton
hal9000 / hypermetrics.com