[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Sorting an array based on user input
From:       Joel Pearson <lists () ruby-forum ! com>
Date:       2013-11-25 16:56:43
Message-ID: 3eefb745c80e10f6c8f50fa6c4f30469 () ruby-forum ! com
[Download RAW message or body]

Peter Hickman wrote in post #1128490:
> n.times.each do

You probably already know this, but ".each" is redundant.

-- 
Posted via http://www.ruby-forum.com/.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic