class Soma
def somar(num1, num2)
@num1 = num1
@num2 = num2
result = num1 + num2
puts "O resultado é #{result}"
end
end
somando = Soma.new()
somando.somar(1, 2)
#https://pt.stackoverflow.com/q/341542/101
Y2xhc3MgU29tYQogICAgZGVmIHNvbWFyKG51bTEsIG51bTIpCiAgICAgICAgQG51bTEgPSBudW0xCiAgICAgICAgQG51bTIgPSBudW0yCiAgICAgICAgcmVzdWx0ID0gbnVtMSArIG51bTIKICAgICAgICBwdXRzICJPIHJlc3VsdGFkbyDDqSAje3Jlc3VsdH0iCiAgICBlbmQKZW5kCgpzb21hbmRvID0gU29tYS5uZXcoKQpzb21hbmRvLnNvbWFyKDEsIDIpCgojaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzM0MTU0Mi8xMDE=