summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-09-05 04:43:33 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-09-05 04:43:33 -0600
commit452e62ba8bc7e2a3e788aabc75a97c8c7c647fd4 (patch)
treec659dc7529e847264576bf1bfbdd07ddd69cab92 /lib
parenta05b876ea84ad0c233d6a272ed57f1bca3bd1679 (diff)
update variable name [no ci]
Diffstat (limited to 'lib')
-rw-r--r--lib/asciidoctor/pdf/index_catalog.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asciidoctor/pdf/index_catalog.rb b/lib/asciidoctor/pdf/index_catalog.rb
index b07809fa..00ac31f8 100644
--- a/lib/asciidoctor/pdf/index_catalog.rb
+++ b/lib/asciidoctor/pdf/index_catalog.rb
@@ -96,10 +96,10 @@ module Asciidoctor
def <=> other
if IndexTermCategory === self
@name <=> other.name
- elsif (val = @name.casecmp other.name) == 0
+ elsif (verdict = @name.casecmp other.name) == 0
other.name <=> @name
else
- val
+ verdict
end
end
end