1.8 e$B$Ge(B undef e$B$7$?$b$N$re(B remove_method e$B$9$k$He(B NameError
e$B$K$Je(B
e$B$j!"$=$7$Fe(B undef e$BA0$N$h$&$K8F$Y$k$h$&$K$J$j$^$9!#e(B
% ./ruby -ve ’
class C
undef display
begin
remove_method :display
rescue NameError
p $!
end
end
C.new.display
’
ruby 1.8.6 (2007-09-20 patchlevel 5000) [i686-linux]
#<NameError: method `display’ not defined in C>
#<C:0xb7d49a60>