General

Profile

EugeneG (Eugene Gilburg)

  • Login: EugeneG
  • Registered on: 03/22/2016
  • Last sign in: 03/22/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/23/2016

05:24 PM Ruby Bug #12206: undef_method on prepended module undefines same-name method on prepending class
Kazuhiro NISHIYAMA wrote:
> How about using `remove_method` instead of `undef_method` ?
It worked, thanks! Behavior is still confusing since I undef'd the method on the module rather than the class, but this solves my problem.
EugeneG (Eugene Gilburg)

03/22/2016

07:07 PM Ruby Bug #12206 (Closed): undef_method on prepended module undefines same-name method on prepending class
1. Define a class with a method
2. Define a module with a same-name method
3. Prepend the module on the class
4. Undefine the same-name method on the module, not touching the original method on the class
5. Observe the class method t...
EugeneG (Eugene Gilburg)

Also available in: Atom