# File lib/rdoc/parser/ruby_tools.rb, line 68 def get_tk_until(*tokens) read = [] loop do tk = get_tk case tk when *tokens then unget_tk tk; break end read << tk end read end