# File rdoc/ri/formatter.rb, line 263 def empty? @optr >= @txt.length end
accept non space, then all following spaces
# File rdoc/ri/formatter.rb, line 268 def next_word start = @optr len = @txt.length while @optr < len && @txt[@optr].char != " " @optr += 1 end while @optr < len && @txt[@optr].char == " " @optr += 1 end @txt[start...@optr] end