#1096: Operator redefinition fails (Fixnum) --------------------------------------+------------------------------------- Reporter: Knut.Olaf.Lien@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | --------------------------------------+------------------------------------- Changes (by Knut.Olaf.Lien@…): * status: closed => reopened * resolution: worksforme => Comment: Does not work sing macirb though. Tried the same approach as you did and get the correct result. So this may be a bug in macirb? See transcript below. irb(main):001:0> class Fixnum irb(main):002:1> def +(o) irb(main):003:2> sel-o irb(main):004:1> end irb(main):005:0> end => nil irb(main):006:0> 4+2 => 6 irb(main):007:0> -- Ticket URL: <http://www.macruby.org/trac/ticket/1096#comment:2> MacRuby <http://macruby.org/>