Skip to content

Commit 6fcf06c

Browse files
committed
Use fixed font in to_sentence API docs [ci skip]
Improves legibility. **Before** ![before](https://github.com/user-attachments/assets/93ce34d3-34fd-47ca-bda2-f82674eea547) **After** ![after](https://github.com/user-attachments/assets/54ea08c5-ac98-43ed-b0c6-d47c34e3eadf)
1 parent eff2f69 commit 6fcf06c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activesupport/lib/active_support/core_ext/array/conversions.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class Array
1616
# ==== Options
1717
#
1818
# * <tt>:words_connector</tt> - The sign or word used to join all but the last
19-
# element in arrays with three or more elements (default: ", ").
19+
# element in arrays with three or more elements (default: <tt>", "</tt>).
2020
# * <tt>:last_word_connector</tt> - The sign or word used to join the last element
21-
# in arrays with three or more elements (default: ", and ").
21+
# in arrays with three or more elements (default: <tt>", and "</tt>).
2222
# * <tt>:two_words_connector</tt> - The sign or word used to join the elements
23-
# in arrays with two elements (default: " and ").
23+
# in arrays with two elements (default: <tt>" and "</tt>).
2424
# * <tt>:locale</tt> - If +i18n+ is available, you can set a locale and use
2525
# the connector options defined on the 'support.array' namespace in the
2626
# corresponding dictionary file.

0 commit comments

Comments
 (0)