In Files

Parent

Methods

Syntax::Default

A default tokenizer for handling syntaxes that are not explicitly handled elsewhere. It simply yields the given text as a single token.

Public Instance Methods

tokenize( text ) click to toggle source

Yield the given text as a single token.

    # File lib/syntax.rb, line 10
10:     def tokenize( text )
11:       yield Token.new( text, :normal )
12:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.