Todd Benson
3/7/2008 4:57:00 PM
On Thu, Mar 6, 2008 at 11:24 AM, Max Russell <thedossone@gmail.com> wrote:
> when I'm parsing a csv file, and don't want to use those elements that
> return a nil value, what is the easiest way to do so? I've tried:
>
> if record == nil
> next
> else
>
> where record is the current element from the file.
Depending on what you are doing, you can parse first, use #compact after.
Todd