Forum: Ruby on Rails Re: EBADF error?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
charles (Guest)
on 2005-11-13 16:56
(Received via mailing list)
Saltman <saltman@...> writes:
> Have you tried rewriting these lines of code without using ruby "shortcuts"?
>   while str = logfile.readline
>     next unless str =~ /Average Redundancy Per Shell/
>     break
>   end

You're the man, Saltman!  I made your suggested change and it seems to
working.  Thanks a bunch.  I wonder if this is a ruby on windows-only

This topic is locked and can not be replied to.