File: reader_ext.rb

package info (click to toggle)
ruby-asciidoctor-include-ext 0.4.0%2Bgh-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 184 kB
  • sloc: ruby: 407; makefile: 3; ml: 1
file content (7 lines) | stat: -rw-r--r-- 147 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
# frozen_string_literal: true
require 'asciidoctor'

# Monkey-patch Reader to add #document.
class Asciidoctor::Reader
  attr_reader :document
end