--mimepart_484d0edb90fd5_62427d7427a2016
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: Quoted-printable
Content-Disposition: inline

Issue #124 has been reported by Arthur Schreiber.

----------------------------------------
Bug #124: Module#remove_method broken in 1.8.6-p166
http://redmine.ruby-lang.org/issues/show/124

Author: Arthur Schreiber
Status: Open
Priority: Normal
Assigned to: =

Category: =

Target version: =



Module#remove Method should raise a NameError when trying to remove non-e=
xistant methods.

On Ruby 1.8.6-p111, Ruby 1.8.6-p114, Ruby 1.8.7, Ruby 1.8.7-p7 and Ruby 1=
.8.7-p17:

irb(main):001:0> class A; remove_method :blabla; end
NameError: method `blabla' not defined in A
	from (irb):1:in `remove_method'
	from (irb):1

But on Ruby 1.8.6-p166:

irb(main):001:0> class A; remove_method :blabla; end
=3D> A


----------------------------------------
You have received this notification because you have either subscribed to=
 it, or are involved in it.
To change your notification preferences, please click here: http://redmin=
e.ruby-lang.org/my/account

--mimepart_484d0edb90fd5_62427d7427a2016--