summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-03-24 03:17:19 -0600
committerDan Allen <dan.j.allen@gmail.com>2019-03-24 03:17:19 -0600
commit88649111c1086226c67fb2c53888b3d5e647af1f (patch)
tree0761eea36335b550e40cc1c439b4463611b103c9
parentc5f3dda95ee9ee81d60b189cac9d52b10838d966 (diff)
remove unused location property (attr_accessor :location) on DocinfoProcessor class
-rw-r--r--CHANGELOG.adoc1
-rw-r--r--lib/asciidoctor/extensions.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 5de1963b..9cb6a1c5 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -19,6 +19,7 @@ Bug Fixes::
* customize MathJax (using a postfilter hook) to apply displaymath formatting to AsciiMath block (#2498)
* fix misspelling of deprecated default_attrs DSL function (missing trailing "s")
+ * remove unused location property (attr_accessor :location) on DocinfoProcessor class
Build / Infrastructure::
diff --git a/lib/asciidoctor/extensions.rb b/lib/asciidoctor/extensions.rb
index b2ce2558..d4c8ae8c 100644
--- a/lib/asciidoctor/extensions.rb
+++ b/lib/asciidoctor/extensions.rb
@@ -484,8 +484,6 @@ module Extensions
# If a location is not specified, the DocinfoProcessor is assumed
# to add content to the header.
class DocinfoProcessor < Processor
- attr_accessor :location
-
def initialize config = {}
super config
@config[:location] ||= :head