Hi, Am Dienstag, 28. Jul 2009, 06:25:52 +0900 schrieb Marc Heiler: > > def power(a,b) > result = (a ** b).to_i > end The variable "result" is superfluous. def power(a,b) (a ** b).to_i end puts power 2,4 There is some more output: (eval):5: warning: parenthesize argument(s) for future version I never understood the necessity of this message but to be honest the line is not very beautiful to read without parentheses. puts power(2,4) Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de