From 3e60533399cf19804bc54de2b9de052d17c0742a Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 25 Aug 2022 23:58:55 -0600 Subject: set default value of unused _opts argument to nil to indicate intent --- lib/asciidoctor/pdf/converter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/asciidoctor/pdf/converter.rb b/lib/asciidoctor/pdf/converter.rb index b150f30e..676ac4d2 100644 --- a/lib/asciidoctor/pdf/converter.rb +++ b/lib/asciidoctor/pdf/converter.rb @@ -626,7 +626,7 @@ module Asciidoctor end end - def convert_section sect, _opts = {} + def convert_section sect, _opts = nil if (sectname = sect.sectname) == 'abstract' # HACK: cheat a bit to hide this section from TOC; TOC should filter these sections sect.context = :open -- cgit v1.2.3