Import library
require 'asciidoctor' # (1)
  1. Describe the first line

Use library
doc = Asciidoctor::Document.new('Hello, World!') # (1)
puts doc.convert # (2)
  1. Describe the second line

  2. Describe the third line