class Asciidoctor::Converter::BuiltIn

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

def content node

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

Public: Returns the converted content of the {AbstractNode}.
def content node
  node.content
end

def convert node, transform = nil

Returns the [String] result of conversion

See {Converter#convert} for more details.

Public: Converts the specified {AbstractNode} using the specified transform.
def convert node, transform = nil
  transform ||= node.node_name
  send transform, node
end

def convert_with_options node, transform = nil, opts = {}

Returns the [String] result of conversion

See {Converter#convert_with_options} for more details.

with additional options.
Public: Converts the specified {AbstractNode} using the specified transform
def convert_with_options node, transform = nil, opts = {}
  transform ||= node.node_name
  send transform, node, opts
end

def initialize backend, opts = {}

def initialize backend, opts = {}
end

def skip node

Returns [NilClass]

Public: Skips conversion of the {AbstractNode}.
def skip node
  nil
end