This throws me a SystemStackError in 1.9.2 Ruby (but works in Rubinius):
class Fixnum
def +(other)
self + other * 2
end
end
but there is no super
for +
(based on other errors).
How can I access the original +
functionality?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…