method

skip

ruby latest stable - Class: RDoc::Markup::Parser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

skip(token_type, error = true)
public

Skips the next token if its type is token_type.

Optionally raises an error if the next token is not of the expected type.