From cbbf04d6f88096d7ce01b09d8bae23ae83c7d719 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Wed, 18 Dec 2024 05:56:21 +0900 Subject: [PATCH] `aligns` may include `:center` (#1247) --- lib/rdoc/markup/to_rdoc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rdoc/markup/to_rdoc.rb b/lib/rdoc/markup/to_rdoc.rb index 90763ccfdb..cbd99c50d5 100644 --- a/lib/rdoc/markup/to_rdoc.rb +++ b/lib/rdoc/markup/to_rdoc.rb @@ -254,7 +254,7 @@ def accept_table header, body, aligns end aligns = aligns.map do |a| case a - when nil + when nil, :center :center when :left :ljust