Sha256: d97e8871e8aaba7a5891efa5c223d183352ce39c447ee5721dc8d441f7650085

Contents?: true

Size: 750 Bytes

Versions: 3

Compression:

Stored size: 750 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-doctest-2.0.0.beta.3 lib/asciidoctor/doctest.rb
asciidoctor-doctest-2.0.0.beta.2 lib/asciidoctor/doctest.rb
asciidoctor-doctest-2.0.0.beta.1 lib/asciidoctor/doctest.rb