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
*
* - #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=