77. Require the Library

To use Asciidoctor in your application, you first need to require the gem:

require 'asciidoctor'

This statement makes all of the public APIs in Asciidoctor available to your script or application. You are now ready to start processing AsciiDoc documents.

The main entry points in the Asciidoctor API are the static methods to load or convert AsciiDoc documents, which we’ll cover the next two chapters.