From: Matthew Kerwin Date: 2013-02-07T15:15:07+09:00 Subject: Re: Issues from an extreme beginner Matthew Kerwin wrote in post #1095671: > Here's a small hint: > > (((str + int => str) + int => str) + int => str) > > (str + (int + (int + int => int) => int) => str) > > Also, String#length returns an int, so you should never need to call > .to_i > on it. > > Sent from my phone, so excuse the typos. Er, that's a conceptual hint, by the way. You can't actually add an int to a string. (However, `str + int.to_s` works fine...) -- Posted via http://www.ruby-forum.com/.