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