# File lib/net/ssh/authentication/pageant.rb, line 168 168: def read(n = nil) 169: return nil unless @res 170: if n.nil? 171: start, @pos = @pos, @res.size 172: return @res[start..-1] 173: else 174: start, @pos = @pos, @pos + n 175: return @res[start, n] 176: end 177: end