diff options
author | Jeremy Evans <code@jeremyevans.net> | 2021-02-10 08:12:12 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2021-02-10 08:17:07 -0800 |
commit | c03b723f56c9b31fb566d83ebecaeae5860b78dd (patch) | |
tree | 5f826db07fd3efa4d67e44127977988b5de7c3e6 /ext/strscan/strscan.c | |
parent | b7333b444961016f926285482136f0488f843dde (diff) | |
download | ruby-c03b723f56c9b31fb566d83ebecaeae5860b78dd.tar.gz |
Update class documentation for StringScanner
The [] wasn't being displayed, and try to fix formatting for bol?
and << (even if they aren't linked).
Fixes [Bug #17620]
Diffstat (limited to 'ext/strscan/strscan.c')
-rw-r--r-- | ext/strscan/strscan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 88074a0a26..6c9ebcd124 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -1537,7 +1537,7 @@ strscan_fixed_anchor_p(VALUE self) * * === Finding Where we Are * - * - #beginning_of_line? (#bol?) + * - #beginning_of_line? (<tt>#bol?</tt>) * - #eos? * - #rest? * - #rest_size @@ -1554,13 +1554,13 @@ strscan_fixed_anchor_p(VALUE self) * - #matched * - #matched? * - #matched_size - * - [] + * - <tt>#[]</tt> * - #pre_match * - #post_match * * === Miscellaneous * - * - << + * - <tt><<</tt> * - #concat * - #string * - #string= |