Class Asciidoctor::Converter::BuiltIn
In: lib/asciidoctor/converter/base.rb
Parent: Object

An abstract base class for built-in {Converter} classes.

Methods

content   convert   new   pass   skip  

External Aliases

respond_to? -> handles?

Public Class methods

Public Instance methods

Public: Returns the converted content of the {AbstractNode}.

Returns the converted [String] content of the {AbstractNode}.

Public: Converts the specified {AbstractNode} using the specified transform and optionally additional options (when not empty).

CAUTION: Method that handles the specified transform *may not* accept the second argument with additional options, in which case an {ArgumentError} is raised if the given opts Hash is not nil. The additional options are used in template-based backends to access convert helper methods such as outline.

See {Converter#convert} for more details.

Returns the [String] result of conversion

pass(node)

Alias for content

Public: Skips conversion of the {AbstractNode}.

Returns [NilClass]

[Validate]