Given this refinement activated inside a class body, what happens to the call outside the class?
module IntExt
refine Integer do
def double; self * 2; end
end
end
class Calc
using IntExt
def run(n); n.double; end
end
Calc.new.run(5) # line A
5.double # line B