Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
# File rdoc/ri/ri_formatter.rb, line 275 def <<(char) @txt << char end
# File rdoc/ri/ri_formatter.rb, line 279 def empty? @optr >= @txt.length end
accept non space, then all following spaces
# File rdoc/ri/ri_formatter.rb, line 284 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