This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
next_word()
public
accept non space, then all following spaces
# File lib/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