"David Douthitt" <DDouthitt / cuna.com> writes:

> If I change the snippet as recommended (twice over!) I get:
> 
> -:9: undefined local variable or method `comment?' for #<Object:0x40061860> (NameError)
>         from -:8:in `each'
>         from -:8
>         from -:7:in `open'
>         from -:7

That means that 'line' is type Object, and not a String. This is very
strange. Could you possibly post the failing code so we can try it
here?

Thanks

Dave