# File lib/netrc.rb, line 76 def readto l = [] while length > 0 && ! yield(self[0]) l << shift end return l.join end