This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixed invalid usage of Module#undef_method
* In MRI Module#undef_method accepts 0 or more method names, and removes them all. In JRuby it accepts only 1 method name. The documentation shows that only 1 method name should be provided, so JRuby matches the docs, while MRI has a much looser contract. DM was using the MRI API, but this has been changed to match the documented behaviour, and should work in JRuby. [#1229 state:resolved]
- Loading branch information