Methods

Class/Module Index [+]

Quicksearch

Asciidoctor::DocBook45::BlockPreambleTemplate

Public Instance Methods

template() click to toggle source
# File lib/asciidoctor/backends/docbook45.rb, line 144
def template
  @template ||= @eruby.new <%#encoding:UTF-8%><%if @document.doctype == 'book' %><preface#{common_attrs_erb}>#{title_tag false}<%= content.chomp %></preface><%else %><%= content.chomp %><%end %>
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.