Ruby - Operators and Expressions
What will be the output of this Ruby code?
class Number
def initialize(n)
@n = n
end
def +(other)
@n - other
end
end
num = Number.new(10)
puts num + 3