summaryrefslogtreecommitdiff
path: root/tasks/docs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/docs.rb')
-rwxr-xr-xtasks/docs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index af35e77701..37f3d17c5e 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -83,7 +83,7 @@ namespace :docs_site do
# which needs to be "true" and "false"
# @return String
def friendly_types_list(arr)
- fixed_arr = Array(arr).map do |x|
+ fixed_arr = Array(arr).map { |x|
case x
when "TrueClass"
"true"
@@ -92,7 +92,7 @@ namespace :docs_site do
else
x
end
- end
+ }
fixed_arr.compact.join(", ")
end