summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Ilyin <alexander.ilyin11@gmail.com>2022-06-09 21:40:21 +0300
committerGitHub <noreply@github.com>2022-06-09 13:40:21 -0500
commitadcfd6969070c3c51b35221d183728bbde8b8539 (patch)
tree8ccfa51e682531b2c9b70e8b32e44f0f51674b5f /doc
parent473ee328c5be01ac6bb29659afcbe3361664bf68 (diff)
[DOC] Fix markup for `String` (#5984)
* Add missing space for `String#start_with?`. * Add missing pluses for `String#tr` and `Methods for Converting to New String` label. * Move quote into the tag for `Whitespace in Strings` label.
Notes
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/string/start_with_p.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/string/start_with_p.rdoc b/doc/string/start_with_p.rdoc
index 1cfed76296..5d1f9f9543 100644
--- a/doc/string/start_with_p.rdoc
+++ b/doc/string/start_with_p.rdoc
@@ -1,6 +1,6 @@
Returns whether +self+ starts with any of the given +string_or_regexp+.
-Matches patterns against the beginning of+self+.
+Matches patterns against the beginning of +self+.
For each given +string_or_regexp+, the pattern is:
- +string_or_regexp+ itself, if it is a Regexp.