Sha256: 60fd0d852438bc4e2a62ca2357549dd1c1b430f59d8eaa9e7f5e3928a28fbda3

Contents?: true

Size: 780 Bytes

Versions: 4

Compression:

Stored size: 780 Bytes

Contents

# frozen_string_literal: true
require 'pathname'

module Asciidoctor
  module DocTest

    @examples_path = Pathname.new(
      '../../data/examples/asciidoc').expand_path(__dir__).to_s.freeze

    # @return [Array<String>] paths of the built-in input examples. It always
    #   returns a new array.
    def self.examples_path
      [ @examples_path ]
    end
  end
end

# Allow to use shorten module name.
DocTest = Asciidoctor::DocTest unless defined? DocTest

require 'asciidoctor/doctest/version'
require 'asciidoctor/doctest/example'
require 'asciidoctor/doctest/generator'
require 'asciidoctor/doctest/rake_tasks'
require 'asciidoctor/doctest/test_reporter'
require 'asciidoctor/doctest/tester'
require 'asciidoctor/doctest/io'
require 'asciidoctor/doctest/html/converter'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciidoctor-doctest-2.0.0.beta.7 lib/asciidoctor/doctest.rb
asciidoctor-doctest-2.0.0.beta.6 lib/asciidoctor/doctest.rb
asciidoctor-doctest-2.0.0.beta.5 lib/asciidoctor/doctest.rb
asciidoctor-doctest-2.0.0.beta.4 lib/asciidoctor/doctest.rb