Ruby latest stable (v2_5_5) - 0 notes - Superclass: Object

Class deprecated or moved

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

Manages changes of attributes in a block of text


PROTECT_ATTR = A_PROTECT.chr # :nodoc:


NULL = "\000".freeze


[R] special

And this maps special sequences to a name. A special sequence is something like a WikiWord

[R] protectable

A \ in front of a character that would normally be processed turns off processing. We do this by turning < into <#{PROTECT}

[R] html_tags

This maps HTML tags to the corresponding attribute char

[R] word_pair_map

And this is used when the delimiters aren’t the same. In this case the hash maps a pattern to the attribute character

[R] matching_word_pairs

This maps delimiters that occur around words (such as bold or tt) where the start and end delimiters and the same. This lets us optimize the regexp

[R] attributes

The attributes enabled for this markup object.

Show files where this class is defined (1 file)
Register or log in to add new notes.