From: ts Date: 2003-06-05T02:05:35+09:00 Subject: Re: remove_method question >>>>> "D" == Daniel Berger writes: D> Then, let's say I have a subclass of Foo, and I want to remove the D> "val1" method. How would I do it? You can remove the method only in the class where this method is defined (in Foo in your case) D> class Bar < Foo D> remove_method(:val1) Is this was valid then you'll have problem with class Foo attr_reader :val1, :val2 def initialize @val1 = "hello" @val2 = "world" end end class A < Foo end class Bar < Foo remove_method(:val1) end #val1 will also be removed for A Use undef_method if you want just to modify Bar Guy Decoux