From: RichardOnRails Date: 2009-07-28T13:30:05+09:00 Subject: Re: What is the power function On Jul 27, 12:36 pm, Prateek Agarwal wrote: > I am new to Ruby and am still learning some of the basic stuff. > What's the method name for the Power operation(as in 'a' to the power > 'b')? > -- > Posted viahttp://www.ruby-forum.com/. Here's your program (commented out with =begin and =end statements) and with line-by-line comments. Following the is a candidate revision of your code, preceded by a couple of commented lines suggesting that you save this program and then run it. Hope this helps. -- Richard