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]
This commit is contained in:
Jeremy Evans 2021-02-10 08:12:12 -08:00
parent b7333b4449
commit c03b723f56

View File

@ -1537,7 +1537,7 @@ strscan_fixed_anchor_p(VALUE self)
* *
* === Finding Where we Are * === Finding Where we Are
* *
* - #beginning_of_line? (#bol?) * - #beginning_of_line? (<tt>#bol?</tt>)
* - #eos? * - #eos?
* - #rest? * - #rest?
* - #rest_size * - #rest_size
@ -1554,13 +1554,13 @@ strscan_fixed_anchor_p(VALUE self)
* - #matched * - #matched
* - #matched? * - #matched?
* - #matched_size * - #matched_size
* - [] * - <tt>#[]</tt>
* - #pre_match * - #pre_match
* - #post_match * - #post_match
* *
* === Miscellaneous * === Miscellaneous
* *
* - << * - <tt><<</tt>
* - #concat * - #concat
* - #string * - #string
* - #string= * - #string=