def multiply(a, b) return a * b end result = multiply(4, 2) puts result # خروجی: 8