summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-06-15 02:58:25 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-06-15 02:58:25 -0600
commite4f8a60596da4d88152c41572822b98dbbe08be2 (patch)
treed50954efbc9283b094edb2aaf388db2e1f999524 /lib
parent119c98356515908106c9f1f75d97ed3d90caa2df (diff)
remove unused prototype code inside block comment [skip ci]
Diffstat (limited to 'lib')
-rw-r--r--lib/asciidoctor/document.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/asciidoctor/document.rb b/lib/asciidoctor/document.rb
index e447da67..9ff21462 100644
--- a/lib/asciidoctor/document.rb
+++ b/lib/asciidoctor/document.rb
@@ -992,25 +992,6 @@ class Document < AbstractBlock
nil
end
-=begin
- def convert_to target, opts = {}
- start = ::Time.now.to_f if (monitor = opts[:monitor])
- output = (r = converter opts).convert
- monitor[:convert] = ::Time.now.to_f - start if monitor
-
- unless target.respond_to? :write
- @attributes['outfile'] = target = ::File.expand_path target
- @attributes['outdir'] = ::File.dirname target
- end
-
- start = ::Time.now.to_f if monitor
- r.write output, target
- monitor[:write] = ::Time.now.to_f - start if monitor
-
- output
- end
-=end
-
def content
# NOTE per AsciiDoc-spec, remove the title before converting the body
@attributes.delete('title')