Jetbrains challenge

I don’t know how many people are on JetBrain’s mailing list, but they
just sent this challenge out:

http://www.jetbrains.com/ruby/contest/challenge.jsp?mkt_tok=3RkMMJWWfF9wsRokvqvLZKXonjHpfsX%2B7OgqXaK%2FlMI%2F0ER3fOvrPUfGjI4CSsZhI%2BSLDwEYGJlv6SgFTrLDMbF23rgMWhU%3D

This is way out of my league, but knowing some of the folks here, they
might have a solution and the prizes aren’t so bad either. :wink:

On 1 August 2014 16:00, Wayne B. [email protected] wrote:

I don’t know how many people are on JetBrain’s mailing list, but they just sent
this challenge out:

http://www.jetbrains.com/ruby/contest/challenge.jsp?mkt_tok=3RkMMJWWfF9wsRokvqvLZKXonjHpfsX%2B7OgqXaK%2FlMI%2F0ER3fOvrPUfGjI4CSsZhI%2BSLDwEYGJlv6SgFTrLDMbF23rgMWhU%3D

This is way out of my league, but knowing some of the folks here, they might
have a solution and the prizes aren’t so bad either. :wink:

Looks like my solution is the first passing solution which
/technically/ fills the contest parameters, unlike other passing
solutions which also change the test. I’m sure my life will promptly
become great.

It says change non_empty? and your change is outside the method.

2014-08-01 13:02 GMT-03:00 Saku Y. [email protected]:

Irrelevant, you can define method anywhere, but fixed.