method

get_tk_until

v1_9_2_180 - Show latest stable - Class: RDoc::Parser::RubyTools
get_tk_until(*tokens)
public

No documentation available.

# File lib/rdoc/parser/ruby_tools.rb, line 65
  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