ruby-changes:65222
From: Jeremy <ko1@a...>
Date: Thu, 11 Feb 2021 01:28:11 +0900 (JST)
Subject: [ruby-changes:65222] c03b723f56 (master): Update class documentation for StringScanner
https://git.ruby-lang.org/ruby.git/commit/?id=c03b723f56 From c03b723f56c9b31fb566d83ebecaeae5860b78dd Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Wed, 10 Feb 2021 08:12:12 -0800 Subject: 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] --- ext/strscan/strscan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 88074a0..6c9ebcd 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -1537,7 +1537,7 @@ strscan_fixed_anchor_p(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/strscan/strscan.c#L1537 * * === 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) https://github.com/ruby/ruby/blob/trunk/ext/strscan/strscan.c#L1554 * - #matched * - #matched? * - #matched_size - * - [] + * - <tt>#[]</tt> * - #pre_match * - #post_match * * === Miscellaneous * - * - << + * - <tt><<</tt> * - #concat * - #string * - #string= -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/