enum

Asciidoctor::ContentModel

Inherits Enum < Comparable < Value < Object

Describes the type of content a block accepts and how it should be converted.

Constants

Compound = 0

This block contains other blocks

Simple = 1

This block holds a paragraph of prose that receives normal substitutions

Verbatim = 2

This block holds verbatim text (displayed "as is") that receives verbatim substitutions

Raw = 3

This block holds unprocessed content passed directly to the output with no substitutions applied

Empty = 4

This block has no content

Skip = 5

This block should be skipped (e.g., comment blocks)

Instance methods

compound?

Returns true if this enum value equals Compound

Source
empty?

Returns true if this enum value equals Empty

Source
raw?

Returns true if this enum value equals Raw

Source
simple?

Returns true if this enum value equals Simple

Source
skip?

Returns true if this enum value equals Skip

Source
verbatim?

Returns true if this enum value equals Verbatim

Source